From e241d2631672836d7a512cd890b14d7523fbc756 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 8 Dec 2015 11:32:18 +0100 Subject: Compute share permissions in the view The share permissions are now computed in the View/FileInfo instead of storing them directly/permanently on the storage --- lib/private/files/storage/common.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/private/files/storage') diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php index 0cd67e343ff..b06543d0a6a 100644 --- a/lib/private/files/storage/common.php +++ b/lib/private/files/storage/common.php @@ -141,10 +141,6 @@ abstract class Common implements Storage { } public function isSharable($path) { - if (\OCP\Util::isSharingDisabledForUser()) { - return false; - } - return $this->isReadable($path); } -- cgit v1.2.3