aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-07 10:12:08 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 14:54:54 +0100
commit547fbfdb76cf2094a9f75a73bb7eef385ed97cf6 (patch)
tree7cb005641c4fa90a1712bb7bb43eb8a56fe0e252 /apps
parent9d3c14c7dd102784a4e1b57ed063cddf59f63f8c (diff)
downloadnextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.tar.gz
nextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.zip
Remove OC_DB::dropTable
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/appinfo/update.php6
-rw-r--r--apps/files_versions/appinfo/update.php5
2 files changed, 0 insertions, 11 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);
diff --git a/apps/files_versions/appinfo/update.php b/apps/files_versions/appinfo/update.php
index ef6772f3079..eb04cf090ed 100644
--- a/apps/files_versions/appinfo/update.php
+++ b/apps/files_versions/appinfo/update.php
@@ -20,11 +20,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-$installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version');
-// move versions to new directory
-if (version_compare($installedVersion, '1.0.4', '<')) {
- \OC_DB::dropTable("files_versions");
-}
// Cron job for deleting expired trash items
\OC::$server->getJobList()->add('OCA\Files_Versions\BackgroundJob\ExpireVersions');