From 6886316b7bd674d714ff6b9011a58aa82c56325b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 22 Jan 2016 10:29:31 +0000 Subject: [PATCH] fixed wrong condition when to use more efficent delete code for everything --- filemanager/inc/class.filemanager_admin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }