summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-07 20:13:16 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-07 20:13:16 +0100
commit1cc6fddead3f71d170557e99ef8676724cb58a6e (patch)
tree62afe797fb92bba787b98345264cbe10644c1863 /apps/files_trashbin/appinfo
parente30740648686c6b9e6743f8551487274d43b006c (diff)
parent190cc2bb6762c5f505e1e90bd582caa4fecb9cce (diff)
downloadnextcloud-server-1cc6fddead3f71d170557e99ef8676724cb58a6e.tar.gz
nextcloud-server-1cc6fddead3f71d170557e99ef8676724cb58a6e.zip
Merge pull request #21498 from owncloud/cleanup-OC_DB
Cleanup OC_DB methods
Diffstat (limited to 'apps/files_trashbin/appinfo')
-rw-r--r--apps/files_trashbin/appinfo/update.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files_trashbin/appinfo/update.php b/apps/files_trashbin/appinfo/update.php
index bd2ee6bb390..09b1b6931a7 100644
--- a/apps/files_trashbin/appinfo/update.php
+++ b/apps/files_trashbin/appinfo/update.php
@@ -25,12 +25,6 @@
$config = \OC::$server->getConfig();
$installedVersion = $config->getAppValue('files_trashbin', 'installed_version');
-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.
- \OC_DB::dropTable('files_trashsize');
-}
-
if (version_compare($installedVersion, '0.6.4', '<')) {
$isExpirationEnabled = $config->getSystemValue('trashbin_auto_expire', true);
$oldObligation = $config->getSystemValue('trashbin_retention_obligation', null);