From: Robin Appelman Date: Tue, 3 Feb 2015 14:23:51 +0000 (+0100) Subject: clear app version cache on upgrade X-Git-Tag: v8.1.0alpha1~545^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f118d7f8db9a2ade4fc29f2900147bf1e914f59;p=nextcloud-server.git clear app version cache on upgrade --- 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; }