diff --git a/filemanager/inc/class.filemanager_admin.inc.php b/filemanager/inc/class.filemanager_admin.inc.php index 5bf595111f..fd7a70b162 100644 --- a/filemanager/inc/class.filemanager_admin.inc.php +++ b/filemanager/inc/class.filemanager_admin.inc.php @@ -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()); }