mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
make sure shipped apps also setup their admin settings on a fresh install
This commit is contained in:
parent
a2f752bcf3
commit
ce6ad5de25
1 changed files with 5 additions and 0 deletions
|
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue