summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-08 11:32:18 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-08 13:04:22 +0100
commite241d2631672836d7a512cd890b14d7523fbc756 (patch)
tree16c5a97538a6f430d6963c56f0f9546a640b90dd /lib/private/files/storage
parentbec34f12757517a784f6e35fc6b7294ab1673c59 (diff)
downloadnextcloud-server-e241d2631672836d7a512cd890b14d7523fbc756.tar.gz
nextcloud-server-e241d2631672836d7a512cd890b14d7523fbc756.zip
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
Diffstat (limited to 'lib/private/files/storage')
-rw-r--r--lib/private/files/storage/common.php4
1 files changed, 0 insertions, 4 deletions
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);
}