diff options
Diffstat (limited to 'core/Controller/OCJSController.php')
-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, ); } |