diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-17 12:30:47 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-29 22:21:54 +0100 |
commit | f30877ea7c758346b700e4ac0f9c684a5ae99c7f (patch) | |
tree | ffbdd342c3bcc42d08d7315e78dc3075fe93a2b9 /lib/private/TemplateLayout.php | |
parent | 139055c1ddec25465dd7644de9866cd6a1048da2 (diff) | |
download | nextcloud-server-f30877ea7c758346b700e4ac0f9c684a5ae99c7f.tar.gz nextcloud-server-f30877ea7c758346b700e4ac0f9c684a5ae99c7f.zip |
Provide initial state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 284f14c5db4..e4a2724de67 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -220,6 +220,10 @@ class TemplateLayout extends \OC_Template { } } + + /** @var InitialStateService $initialState */ + $initialState = \OC::$server->query(InitialStateService::class); + $this->assign('initialStates', $initialState->getInitialStates()); } /** |