aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php
index b42cf6b00ad..04a6545c9a7 100644
--- a/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php
+++ b/apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php
@@ -29,7 +29,6 @@ class OCSShareAPIMiddleware extends Middleware {
*/
public function beforeController($controller, $methodName) {
if ($controller instanceof Share20OCS) {
- /** @var Share20OCS $controller */
if (!$this->shareManager->shareApiEnabled()) {
throw new OCSNotFoundException($this->l->t('Share API is disabled'));
}