Fix missing argument in JSConfigHelper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
e56ffe5992
commit
25dfaefd01
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue