fast operation first
parent
6774e7ee29
commit
62817a4cb2
|
@ -108,7 +108,7 @@ class Filesystem
|
||||||
return unlink($directory);
|
return unlink($directory);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists($directory) || !is_dir($directory)) {
|
if (!is_dir($directory) || !file_exists($directory)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue