summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-03 00:26:13 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-15 18:13:50 +0100
commit94068e5d08cba776e410d925e26037d442b5bc62 (patch)
treecfd7d3b8b5279cdfb5b7d1112ded71d9a2196fd8 /apps/files/appinfo/app.php
parent9bf367e7f803d6968dc2c639624ce191d538a5bc (diff)
downloadnextcloud-server-94068e5d08cba776e410d925e26037d442b5bc62.tar.gz
nextcloud-server-94068e5d08cba776e410d925e26037d442b5bc62.zip
Cache: show upgrade progress
Diffstat (limited to 'apps/files/appinfo/app.php')
-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);
- }
-}