diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-02-25 21:35:54 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-03-10 15:13:28 +0100 |
commit | 4562909a2021be795b89cb7fcf6f244d7f6a8204 (patch) | |
tree | c485c2c36c1dfdd14b96c4dd036d808ba7f77b0b /apps/files_trashbin/appinfo/update.php | |
parent | abad625cac2ef0417996f196f522ef006836940d (diff) | |
download | nextcloud-server-4562909a2021be795b89cb7fcf6f244d7f6a8204.tar.gz nextcloud-server-4562909a2021be795b89cb7fcf6f244d7f6a8204.zip |
get trash size from file cache
Diffstat (limited to 'apps/files_trashbin/appinfo/update.php')
-rw-r--r-- | apps/files_trashbin/appinfo/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/appinfo/update.php b/apps/files_trashbin/appinfo/update.php index 0ca232668d7..ca7b87a8681 100644 --- a/apps/files_trashbin/appinfo/update.php +++ b/apps/files_trashbin/appinfo/update.php @@ -2,7 +2,7 @@ $installedVersion=OCP\Config::getAppValue('files_trashbin', 'installed_version'); -if (version_compare($installedVersion, '0.4', '<')) { +if (version_compare($installedVersion, '0.6', '<')) { //size of the trash bin could be incorrect, remove it for all users to //enforce a recalculation during next usage. $query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trashsize`'); |