summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index e44290369a8..6c9f7615228 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -656,6 +656,12 @@ class OC_App {
if (is_array($data)) {
$data = OC_App::parseAppInfo($data);
}
+ if(isset($data['ocsid'])) {
+ $storedId = \OC::$server->getConfig()->getAppValue($appId, 'ocsid');
+ if($storedId !== '' && $storedId !== $data['ocsid']) {
+ $data['ocsid'] = $storedId;
+ }
+ }
self::$appInfo[$appId] = $data;