summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/app.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 643d8ed18a2..ab2f3b01a29 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -10,13 +10,3 @@ OCP\App::addNavigationEntry( array( "id" => "files_index",
"name" => $l->t("Files") ));
OC_Search::registerProvider('OC_Search_Provider_File');
-
-if (OC_User::isLoggedIn()) {
- // update OC4.5 filecache to OC5 filecache, can't do this in update.php since it needs to happen for each user individually
- $cacheVersion = (int)OCP\Config::getUserValue(OC_User::getUser(), 'files', 'cache_version', 4);
- if ($cacheVersion < 5) {
- \OC_Log::write('files', 'updating filecache to 5.0 for user ' . OC_User::getUser(), \OC_Log::INFO);
- \OC\Files\Cache\Upgrade::upgrade();
- OCP\Config::setUserValue(OC_User::getUser(), 'files', 'cache_version', 5);
- }
-}