Passed
Push — master ( 5a286b...d5e553 )
by Goffy
09:17 queued 04:57
created
include/uninstall.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
     if ($dirInfo->isDir()) {
49 49
         // The directory exists so rename it
50 50
         $date = date('Y-m-d');
51
-        if (!rename($uploadDirectory, $uploadDirectory . "_bak_$date")) {
52
-            $module->setErrors(sprintf(constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_DEL_PATH'), $uploadDirectory));
51
+        if (!rename($uploadDirectory, $uploadDirectory."_bak_$date")) {
52
+            $module->setErrors(sprintf(constant('CO_'.$moduleDirNameUpper.'_ERROR_BAD_DEL_PATH'), $uploadDirectory));
53 53
             $success = false;
54 54
         }
55 55
     }
Please login to merge, or discard this patch.