fixed wrong condition when to use more efficent delete code for everything

This commit is contained in:
Ralf Becker 2016-01-22 10:29:31 +00:00
parent edd827b221
commit 6886316b7b

View File

@ -175,7 +175,7 @@ class filemanager_admin extends filemanager_ui
$msg = lang('Directory "%1" NOT found!', $content['versionedpath']);
}
// shortcut to efficently delete every old version and deleted file
elseif ($content['versionedpath'] == '/' && $content['ctime'])
elseif ($content['versionedpath'] == '/' && !$content['ctime'])
{
$msg = lang('%1 files deleted.', Versioning\StreamWrapper::purge_all_versioning());
}