summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/streamwrapper.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-11-22 15:24:23 +0100
committerVincent Petry <pvince81@owncloud.com>2013-11-22 18:21:17 +0100
commitc62cce826994291c528e7cc90da5be9fc94ebaf2 (patch)
tree3602d649ca5947113eb36f521aa144194920f43c /apps/files_external/lib/streamwrapper.php
parenta49e873d3fa513136bfdf1d71bbc2bbcd61d3650 (diff)
downloadnextcloud-server-c62cce826994291c528e7cc90da5be9fc94ebaf2.tar.gz
nextcloud-server-c62cce826994291c528e7cc90da5be9fc94ebaf2.zip
Moved default isReadable/isUpdatable impl into Common class
Also adjusted all ext storage backends to not override these when the default behavior is expected.
Diffstat (limited to 'apps/files_external/lib/streamwrapper.php')
-rw-r--r--apps/files_external/lib/streamwrapper.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/files_external/lib/streamwrapper.php b/apps/files_external/lib/streamwrapper.php
index a086f411f57..23c5f91a2f3 100644
--- a/apps/files_external/lib/streamwrapper.php
+++ b/apps/files_external/lib/streamwrapper.php
@@ -41,19 +41,6 @@ abstract class StreamWrapper extends Common {
return filetype($this->constructUrl($path));
}
- public function isReadable($path) {
- // at least check whether it exists
- // subclasses might want to implement this more thoroughly
- return $this->file_exists($path);
- }
-
- public function isUpdatable($path) {
- // at least check whether it exists
- // subclasses might want to implement this more thoroughly
- // a non-existing file/folder isn't updatable
- return $this->file_exists($path);
- }
-
public function file_exists($path) {
return file_exists($this->constructUrl($path));
}