Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-05-31 20:02:59 +0400
committerGeorg Ehrke <developer@georgehrke.com>2014-05-31 20:02:59 +0400
commitc8a8c7e93340eaa36586926ca70c8a3959aa4a94 (patch)
treee9efa462cc944b35733c5926847cd77760ea0eb5 /lib/private/installer.php
parentc6dc9aeda827940518a322e43670f8136eb26104 (diff)
read ocsid from shipped apps on install
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index c82e19b7351..e2b8aec4c16 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -482,6 +482,9 @@ class OC_Installer{
return false;
}
OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app));
+ if (array_key_exists('ocsid', $info)) {
+ OC_Appconfig::setValue($app, 'ocsid', $info['ocsid']);
+ }
//set remote/public handelers
foreach($info['remote'] as $name=>$path) {