diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-01-19 16:38:51 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-01-28 12:00:20 +0100 |
commit | 4f90766ba314171bbfc78d1e988307c50633e7f3 (patch) | |
tree | f5f910ff0f3dd2ff8fa5a05c8fd1f905ffc21ba5 /lib/private/legacy/OC_Util.php | |
parent | 7e6d69d166cbc92fb457fc72efc9abe850a0bbe4 (diff) | |
download | nextcloud-server-4f90766ba314171bbfc78d1e988307c50633e7f3.tar.gz nextcloud-server-4f90766ba314171bbfc78d1e988307c50633e7f3.zip |
Skip template picker if none available
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/legacy/OC_Util.php')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 05d54cf84e6..f1e88166e97 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -449,9 +449,9 @@ class OC_Util { // update the file cache $userDirectory->getStorage()->getScanner()->scan('', \OC\Files\Cache\Scanner::SCAN_RECURSIVE); - /** @var ITemplateManager $templateManaer */ - $templateManaer = \OC::$server->get(ITemplateManager::class); - $templateManaer->initializeTemplateDirectory(null, $userId); + /** @var ITemplateManager $templateManager */ + $templateManager = \OC::$server->get(ITemplateManager::class); + $templateManager->initializeTemplateDirectory(null, $userId); } } |