summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-15 10:03:21 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-15 10:09:47 +0200
commitf640b56bfac72d2c3fd394fe6564e93020243b7f (patch)
tree7649aea33898034cd1784d2250380e175c525591 /lib/private/Template
parente0f479a4eb7f297dbe5156b16f42b896c4ceadd4 (diff)
downloadnextcloud-server-f640b56bfac72d2c3fd394fe6564e93020243b7f.tar.gz
nextcloud-server-f640b56bfac72d2c3fd394fe6564e93020243b7f.zip
Cleanup unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Template')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index fb9b27f0765..ae17d556892 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -223,7 +223,7 @@ class JSConfigHelper {
'enforcePasswordForPublicLink' => \OCP\Util::isPublicLinkPasswordRequired(),
'enableLinkPasswordByDefault' => $enableLinkPasswordByDefault,
'sharingDisabledForUser' => \OCP\Util::isSharingDisabledForUser(),
- 'resharingAllowed' => \OCP\Share::isResharingAllowed(),
+ 'resharingAllowed' => \OC\Share\Share::isResharingAllowed(),
'remoteShareAllowed' => $outgoingServer2serverShareEnabled,
'federatedCloudShareDoc' => $this->urlGenerator->linkToDocs('user-sharing-federated'),
'allowGroupSharing' => \OC::$server->getShareManager()->allowGroupSharing()