summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-07-07 16:57:50 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-07-07 17:11:50 +0200
commite5e8e28ae7536184e7c1038f7ab90bd9cd76ae80 (patch)
treeb71722f1408d52d2b138995b6bb3c5d7c602d3e3 /lib/private/app.php
parent268af9039ae4671be50863f852def8a0db0c7e08 (diff)
downloadnextcloud-server-e5e8e28ae7536184e7c1038f7ab90bd9cd76ae80.tar.gz
nextcloud-server-e5e8e28ae7536184e7c1038f7ab90bd9cd76ae80.zip
add ocsids to info.xml
Diffstat (limited to 'lib/private/app.php')
-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);
}