From ce6ad5de25795e49564f3d4b53f52e13e1a52fc7 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 11 Aug 2016 16:37:11 +0200 Subject: [PATCH] make sure shipped apps also setup their admin settings on a fresh install --- lib/private/Installer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/private/Installer.php b/lib/private/Installer.php index eed97e18d94..1c45679cd32 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -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']; } -- 2.39.5