summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-07-07 19:58:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-07-07 19:58:41 +0200
commit29bdfc0ce2e6c1b1b0a7165c855313578fd56246 (patch)
tree3adfc1459fb51424c7db673d1022d8af2499a079 /lib
parent54a8dce380f926912b8fd00bb2f42a383a8fda08 (diff)
parente5e8e28ae7536184e7c1038f7ab90bd9cd76ae80 (diff)
downloadnextcloud-server-29bdfc0ce2e6c1b1b0a7165c855313578fd56246.tar.gz
nextcloud-server-29bdfc0ce2e6c1b1b0a7165c855313578fd56246.zip
Merge pull request #9502 from owncloud/add_ocsids
Add ocsids for shipped apps in core repo
Diffstat (limited to 'lib')
-rw-r--r--lib/private/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index b7d58c72340..4343ab0d1b4 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -1186,6 +1186,9 @@ class OC_App {
//set remote/public handlers
$appData = self::getAppInfo($appid);
+ if (array_key_exists('ocsid', $appData)) {
+ OC_Appconfig::setValue($appid, 'ocsid', $appData['ocsid']);
+ }
foreach ($appData['remote'] as $name => $path) {
OCP\CONFIG::setAppValue('core', 'remote_' . $name, $appid . '/' . $path);
}