From 12338e0ef07c409156fa9cd1008bb981bda20461 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 13 May 2014 15:22:18 +0200 Subject: allow admin to disable sharing for specific groups of users --- lib/public/util.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/public') diff --git a/lib/public/util.php b/lib/public/util.php index 3166d4040d8..d1faec3997f 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -116,6 +116,15 @@ class Util { } } + /** + * check if sharing is disabled for the current user + * + * @return boolean + */ + public static function isSharingDisabledForUser() { + return \OC_Util::isSharingDisabledForUser(); + } + /** * get l10n object * @param string $application -- cgit v1.2.3