diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-04-27 08:40:54 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-04-27 08:40:54 +0200 |
commit | 25dfaefd0192ccf887056f2ffd066c1d5fdbbf4c (patch) | |
tree | 762ea56828c871f233c211b4e4cccc4780cdd7d1 /core | |
parent | e56ffe5992ae9e65a6c503fc1b45ddc7e3f85fe3 (diff) | |
download | nextcloud-server-25dfaefd0192ccf887056f2ffd066c1d5fdbbf4c.tar.gz nextcloud-server-25dfaefd0192ccf887056f2ffd066c1d5fdbbf4c.zip |
Fix missing argument in JSConfigHelper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/OCJSController.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php index 617f6b25236..29a210a092d 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -37,6 +37,7 @@ use OCP\AppFramework\Http\DataDisplayResponse; use OCP\Defaults; use OCP\IConfig; use OCP\IGroupManager; +use OCP\IInitialStateService; use OCP\IRequest; use OCP\ISession; use OCP\IURLGenerator; @@ -63,6 +64,7 @@ class OCJSController extends Controller { * @param IniGetWrapper $iniWrapper * @param IURLGenerator $urlGenerator * @param CapabilitiesManager $capabilitiesManager + * @param IInitialStateService $initialStateService */ public function __construct($appName, IRequest $request, @@ -75,7 +77,8 @@ class OCJSController extends Controller { IGroupManager $groupManager, IniGetWrapper $iniWrapper, IURLGenerator $urlGenerator, - CapabilitiesManager $capabilitiesManager) { + CapabilitiesManager $capabilitiesManager, + IInitialStateService $initialStateService) { parent::__construct($appName, $request); $this->helper = new JSConfigHelper( @@ -88,7 +91,8 @@ class OCJSController extends Controller { $groupManager, $iniWrapper, $urlGenerator, - $capabilitiesManager + $capabilitiesManager, + $initialStateService, ); } |