rename Phorkie to phorkie (lowercase)
[phorkie.git] / src / Phorkie / Tools.php
diff --git a/src/Phorkie/Tools.php b/src/Phorkie/Tools.php
deleted file mode 100644 (file)
index 8e67fe2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-namespace Phorkie;
-
-
-class Tools
-{
-    public static function recursiveDelete($path)
-    {
-        if (!is_dir($path) || is_link($path)) {
-            return unlink($path);
-        }
-        foreach (scandir($path) as $file) {
-            if ($file == '.' || $file == '..') {
-                continue;
-            }
-            $filepath = $path . DIRECTORY_SEPARATOR . $file;
-            if (!static::recursiveDelete($filepath)) {
-                return false;
-            };
-        }
-        return rmdir($path);
-    }
-
-}
-
-?>
\ No newline at end of file