summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-27 13:44:34 +0100
committerGitHub <noreply@github.com>2018-02-27 13:44:34 +0100
commit7bc3c2e057c8c265ca7b1aa387dd1ba479690143 (patch)
treec02f1ec27b8037ef2f604829347e7efe2e3d34ab /lib/private/TemplateLayout.php
parent01f420c7ac38128c03975d7de7dd20190c4afcc1 (diff)
parent20ec0344a26faf725762e3b344b66bb45ef1a5a2 (diff)
downloadnextcloud-server-7bc3c2e057c8c265ca7b1aa387dd1ba479690143.tar.gz
nextcloud-server-7bc3c2e057c8c265ca7b1aa387dd1ba479690143.zip
Merge pull request #7363 from nextcloud/default-share-perms
Let the admin configure the default share permissions
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index eb8477ca9e9..0f2eb48bef3 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -160,7 +160,8 @@ class TemplateLayout extends \OC_Template {
$this->config,
\OC::$server->getGroupManager(),
\OC::$server->getIniWrapper(),
- \OC::$server->getURLGenerator()
+ \OC::$server->getURLGenerator(),
+ \OC::$server->getCapabilitiesManager()
);
$this->assign('inline_ocjs', $jsConfigHelper->getConfig());
} else {