mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fixed wrong condition when to use more efficent delete code for everything
This commit is contained in:
parent
edd827b221
commit
6886316b7b
@ -175,7 +175,7 @@ class filemanager_admin extends filemanager_ui
|
|||||||
$msg = lang('Directory "%1" NOT found!', $content['versionedpath']);
|
$msg = lang('Directory "%1" NOT found!', $content['versionedpath']);
|
||||||
}
|
}
|
||||||
// shortcut to efficently delete every old version and deleted file
|
// 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());
|
$msg = lang('%1 files deleted.', Versioning\StreamWrapper::purge_all_versioning());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user