summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-02-03 15:23:51 +0100
committerRobin Appelman <icewind@owncloud.com>2015-02-03 15:23:51 +0100
commit6f118d7f8db9a2ade4fc29f2900147bf1e914f59 (patch)
tree33a10dfd88e0e8afc483fc50e97c885c376143fe /lib
parent70fd3a267f08a5f8bd8c50265a3469784ec9aca7 (diff)
downloadnextcloud-server-6f118d7f8db9a2ade4fc29f2900147bf1e914f59.tar.gz
nextcloud-server-6f118d7f8db9a2ade4fc29f2900147bf1e914f59.zip
clear app version cache on upgrade
Diffstat (limited to 'lib')
-rw-r--r--lib/private/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index bd58493a4ce..12b26244f3f 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -1159,6 +1159,7 @@ class OC_App {
if (file_exists(self::getAppPath($appId) . '/appinfo/database.xml')) {
OC_DB::updateDbFromStructure(self::getAppPath($appId) . '/appinfo/database.xml');
}
+ unset(self::$appVersion[$appId]);
if (!self::isEnabled($appId)) {
return false;
}