diff options
author | Joas Schilling <coding@schilljs.com> | 2021-01-20 16:57:59 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-01-21 11:47:31 +0100 |
commit | 91cad65d0e1d853cd37d2def78317f376fc320b6 (patch) | |
tree | 7abfbdd90eea309bf5324c4d579eb7e828cf0337 /lib/Controller/PageController.php | |
parent | 2284b0797eec8ed95e5173c2d4db14201c7629a3 (diff) |
Initial state service is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 79b8fe53c..b3ab04cf3 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -43,11 +43,11 @@ use OCP\AppFramework\Http\RedirectResponse; use OCP\AppFramework\Http\Response; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\Template\PublicTemplateResponse; +use OCP\AppFramework\Services\IInitialState; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\IRootFolder; use OCP\ICacheFactory; use OCP\IConfig; -use OCP\IInitialStateService; use OCP\IRequest; use OCP\IURLGenerator; use OCP\IUser; @@ -93,7 +93,7 @@ class PageController extends Controller { IURLGenerator $url, INotificationManager $notificationManager, IAppManager $appManager, - IInitialStateService $initialStateService, + IInitialState $initialState, ICacheFactory $memcacheFactory, IRootFolder $rootFolder, Config $talkConfig, @@ -109,7 +109,7 @@ class PageController extends Controller { $this->url = $url; $this->notificationManager = $notificationManager; $this->appManager = $appManager; - $this->initialStateService = $initialStateService; + $this->initialState = $initialState; $this->memcacheFactory = $memcacheFactory; $this->rootFolder = $rootFolder; $this->talkConfig = $talkConfig; |