diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index c0939dce53f..e6519dd3e3a 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -330,6 +330,15 @@ class Share extends \OC\Share\Constants { public static function checkPasswordProtectedShare(array $linkItem) { return \OC\Share\Share::checkPasswordProtectedShare($linkItem); } + + /** + * Check if resharing is allowed + * + * @return boolean true if allowed or false + */ + public static function isResharingAllowed() { + return \OC\Share\Share::isResharingAllowed(); + } } /** |