summaryrefslogtreecommitdiffstats
path: root/lib/PublicShareAuth
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-01-20 16:57:59 +0100
committerJoas Schilling <coding@schilljs.com>2021-01-21 11:47:31 +0100
commit91cad65d0e1d853cd37d2def78317f376fc320b6 (patch)
tree7abfbdd90eea309bf5324c4d579eb7e828cf0337 /lib/PublicShareAuth
parent2284b0797eec8ed95e5173c2d4db14201c7629a3 (diff)
Initial state service is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/PublicShareAuth')
-rw-r--r--lib/PublicShareAuth/TemplateLoader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicShareAuth/TemplateLoader.php b/lib/PublicShareAuth/TemplateLoader.php
index 3a4f32c80..66e6496b6 100644
--- a/lib/PublicShareAuth/TemplateLoader.php
+++ b/lib/PublicShareAuth/TemplateLoader.php
@@ -28,11 +28,11 @@ namespace OCA\Talk\PublicShareAuth;
use OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent;
use OCA\Talk\Config;
use OCA\Talk\TInitialState;
+use OCP\AppFramework\Services\IInitialState;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\ICacheFactory;
use OCP\IConfig;
-use OCP\IInitialStateService;
use OCP\Util;
/**
@@ -43,11 +43,11 @@ use OCP\Util;
class TemplateLoader implements IEventListener {
use TInitialState;
- public function __construct(IInitialStateService $initialStateService,
+ public function __construct(IInitialState $initialState,
ICacheFactory $memcacheFactory,
Config $talkConfig,
IConfig $serverConfig) {
- $this->initialStateService = $initialStateService;
+ $this->initialState = $initialState;
$this->talkConfig = $talkConfig;
$this->memcacheFactory = $memcacheFactory;
$this->serverConfig = $serverConfig;