read ocsid from shipped apps on install

This commit is contained in:
Georg Ehrke 2014-05-31 18:02:59 +02:00
parent c6dc9aeda8
commit c8a8c7e933
1 changed files with 3 additions and 0 deletions

View File

@ -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) {