diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-11-11 03:04:42 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-11-11 03:04:42 +0300 |
commit | 4fad41db457f14b506bf2a7299184824092d0d01 (patch) | |
tree | 930a20b38c9449b0838a99e58ffdd9fac50ffcb1 /lib | |
parent | 36207cb986cc538c48fcfbf8df46cdd0d9bc64d1 (diff) |
Remove method which is not used any longer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/file.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/file.php b/lib/file.php index c43e5536..348e4cb9 100644 --- a/lib/file.php +++ b/lib/file.php @@ -125,22 +125,6 @@ class File { $this->passwordProtected = $value; } - public function getPermissions(){ - if ($this->isPublicShare()){ - $permissions = \OCP\PERMISSION_READ | \OCP\PERMISSION_UPDATE; - } else { - list($owner, $path) = $this->getOwnerViewAndPath(); - $permissions = 0; - if (\OC\Files\Filesystem::isReadable($path)){ - $permissions |= \OCP\PERMISSION_READ; - } - if (\OC\Files\Filesystem::isUpdatable($path)){ - $permissions |= \OCP\PERMISSION_UPDATE; - } - - } - return $permissions; - } /** * |