alexlcdee пре 8 година
родитељ
комит
5d4342f1ee
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/components/Update.php

+ 5 - 0
src/components/Update.php

@@ -40,6 +40,11 @@ class Update extends \CComponent
         @rename($old, $new);
     }
 
+    public function remove($target)
+    {
+        @unlink($target);
+    }
+
     public function cleanDir($path, $includeDir = false, $initPath = false)
     {
         if (!$initPath) {