diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share/Share.php | 2 | ||||
-rw-r--r-- | lib/public/Share.php | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php index 52b382e6678..57e5742077b 100644 --- a/lib/private/Share/Share.php +++ b/lib/private/Share/Share.php @@ -283,7 +283,7 @@ class Share extends Constants { } // password protected shares need to be authenticated - if ($checkPasswordProtection && !\OCP\Share::checkPasswordProtectedShare($row)) { + if ($checkPasswordProtection && !\OC\Share\Share::checkPasswordProtectedShare($row)) { return false; } diff --git a/lib/public/Share.php b/lib/public/Share.php index c6dd72ba1d2..78f2bcf586d 100644 --- a/lib/public/Share.php +++ b/lib/public/Share.php @@ -222,15 +222,4 @@ class Share extends \OC\Share\Constants { public static function getBackend($itemType) { return \OC\Share\Share::getBackend($itemType); } - - /** - * In case a password protected link is not yet authenticated this function will return false - * - * @param array $linkItem - * @return bool - * @since 7.0.0 - */ - public static function checkPasswordProtectedShare(array $linkItem) { - return \OC\Share\Share::checkPasswordProtectedShare($linkItem); - } } |