aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-02 08:48:33 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commitb4a7be20c8837d2ce74b082a6668b8896cf3318f (patch)
tree28cf0a06c9f6a8c4bdd51cebb331cca860821e31 /lib/private
parent67753321b3c1684aecf5696c71f3bb2d46e77dc4 (diff)
downloadnextcloud-server-b4a7be20c8837d2ce74b082a6668b8896cf3318f.tar.gz
nextcloud-server-b4a7be20c8837d2ce74b082a6668b8896cf3318f.zip
Properly clear cache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index d3c9859c68d..0a5d31a9873 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -901,6 +901,7 @@ class OC_App {
self::executeRepairSteps($appId, $appData['repair-steps']['post-migration']);
self::setupLiveMigrations($appId, $appData['repair-steps']['live-migration']);
// update appversion in app manager
+ \OC::$server->getAppManager()->clearAppsCache();
\OC::$server->getAppManager()->getAppVersion($appId, false);
// run upgrade code