diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-19 22:29:01 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-19 22:29:01 -0400 |
commit | 82d81e8d39ce69211ec6b29fe3f803c57714b8dd (patch) | |
tree | 09dbd675480a02fd626f6634e083f3d6a01b4404 /lib/filesystemview.php | |
parent | f893d21660695d1d1cd594c102e2bcba6919dee3 (diff) | |
parent | 5eca531f99f9615d1a09bbb0b03dda2063901aa7 (diff) | |
download | nextcloud-server-82d81e8d39ce69211ec6b29fe3f803c57714b8dd.tar.gz nextcloud-server-82d81e8d39ce69211ec6b29fe3f803c57714b8dd.zip |
Merge branch 'share_api'
Conflicts:
apps/contacts/lib/vcard.php
apps/files/index.php
lib/files.php
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 6e76e1b6da5..a888e5340ea 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -211,11 +211,32 @@ class OC_FilesystemView { } return false; } - public function is_readable($path) { - return $this->basicOperation('is_readable', $path); + /** + * @deprecated Replaced by isReadable() as part of CRUDS + */ + public function is_readable($path){ + return $this->basicOperation('isReadable',$path); + } + /** + * @deprecated Replaced by isCreatable(), isUpdatable(), isDeletable() as part of CRUDS + */ + public function is_writable($path){ + return $this->basicOperation('isUpdatable',$path); + } + public function isCreatable($path) { + return $this->basicOperation('isCreatable', $path); + } + public function isReadable($path) { + return $this->basicOperation('isReadable', $path); + } + public function isUpdatable($path) { + return $this->basicOperation('isUpdatable', $path); + } + public function isDeletable($path) { + return $this->basicOperation('isDeletable', $path); } - public function is_writable($path) { - return $this->basicOperation('is_writable', $path); + public function isSharable($path) { + return $this->basicOperation('isSharable', $path); } public function file_exists($path) { if($path=='/'){ |