You've already forked ugly-queue
More tests and minor updates.
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (is_dir(__DIR__.'/tasty-sandwich'))
|
||||
\DCarbone\Helpers\FileHelper::superUnlink(__DIR__.'/tasty-sandwich');
|
||||
{
|
||||
foreach(glob(__DIR__.'/tasty-sandwich/*') as $file)
|
||||
{
|
||||
if (substr($file, -1) === '.')
|
||||
continue;
|
||||
|
||||
unlink($file);
|
||||
}
|
||||
rmdir(__DIR__.'/tasty-sandwich');
|
||||
}
|
||||
Reference in New Issue
Block a user