Completed
Push — development ( a5a40b...b096dd )
by Nils
07:37
created
sources/items.queries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2686,7 +2686,7 @@  discard block
 block discarded – undo
2686 2686
                 // Delete file from server
2687 2687
                 try {
2688 2688
                     unlink($_SESSION['settings']['path_to_upload_folder']."/".$data['file']);
2689
-                } catch(Exception $e){
2689
+                } catch (Exception $e) {
2690 2690
                     print_r($e);
2691 2691
                 }
2692 2692
             }
@@ -3366,7 +3366,7 @@  discard block
 block discarded – undo
3366 3366
 
3367 3367
             try {
3368 3368
                 unlink($_SESSION['settings']['path_to_upload_folder'].'/'.$result['file'].$_POST['file_suffix']);
3369
-            } catch(Exception $e){
3369
+            } catch (Exception $e) {
3370 3370
                 print_r($e);
3371 3371
             }
3372 3372
 
Please login to merge, or discard this patch.
sources/main.queries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1162,7 +1162,7 @@
 block discarded – undo
1162 1162
 
1163 1163
         try {
1164 1164
             unlink($_POST['filename']);
1165
-        } catch(Exception $e){
1165
+        } catch (Exception $e) {
1166 1166
             print_r($e);
1167 1167
         }
1168 1168
 
Please login to merge, or discard this patch.
sources/upload/upload.files.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
             fclose($out);
233 233
             try {
234 234
                 unlink($_FILES['file']['tmp_name']);
235
-            } catch(Exception $e){
235
+            } catch (Exception $e) {
236 236
                 print_r($e);
237 237
             }
238 238
         } else {
Please login to merge, or discard this patch.
sources/upload/upload.attachments.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 
219 219
 // Create target dir
220 220
 if (!file_exists($targetDir)) {
221
-    try{
221
+    try {
222 222
         mkdir($targetDir);
223 223
     }
224 224
 }
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
         ) {
236 236
             try {
237 237
                 unlink($tmpfilePath);
238
-            } catch(Exception $e){
238
+            } catch (Exception $e) {
239 239
                 print_r($e);
240 240
             }
241 241
         }
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
             fclose($out);
303 303
             try {
304 304
                 unlink($_FILES['file']['tmp_name']);
305
-            } catch(Exception $e){
305
+            } catch (Exception $e) {
306 306
                 print_r($e);
307 307
             }
308 308
         } else {
Please login to merge, or discard this patch.
sources/main.functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1748,7 +1748,7 @@
 block discarded – undo
1748 1748
     if (is_file($file)) {
1749 1749
         try {
1750 1750
             close($file);
1751
-        } catch(Exception $e){
1751
+        } catch (Exception $e) {
1752 1752
             print_r($e);
1753 1753
         }
1754 1754
         // define if we under Windows
Please login to merge, or discard this patch.