From 41cca70a63eea6bb07565f2e4f3e68f8218eac78 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 5 Aug 2014 10:57:13 +0200 Subject: don't display share permission if resharing was disabled by the admin --- lib/private/share/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private') diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 450c71cf8a2..b8e7ffa4536 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1114,7 +1114,7 @@ class Share extends \OC\Share\Constants { * * Resharing is allowed by default if not configured */ - private static function isResharingAllowed() { + public static function isResharingAllowed() { if (!isset(self::$isResharingAllowed)) { if (\OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes') == 'yes') { self::$isResharingAllowed = true; -- cgit v1.2.3