make sure shipped apps also setup their admin settings on a fresh install

This commit is contained in:
Arthur Schiwon 2016-08-11 16:37:11 +02:00
parent a2f752bcf3
commit ce6ad5de25
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 5 additions and 0 deletions

View File

@ -593,6 +593,11 @@ class Installer {
OC_App::setAppTypes($info['id']);
if(isset($info['settings']) && is_array($info['settings'])) {
\OC_App::loadApp($app, false);
\OC::$server->getSettingsManager()->setupSettings($info['settings']);
}
return $info['id'];
}