Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-01-02 03:40:32 +0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-01-02 03:41:00 +0400
commita9bab168f5e43bfa5fe1523aab80faf1bc02cd58 (patch)
tree9dc954fd7353458ddef847a9966b21564c8649a3 /lib/filestorage
parent1415cb8d196761b4f3b0ecb567aa2377fb417840 (diff)
Replace canRead()/canWrite() with is_readable()/is_writeable() for proper permission checks
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 9e29f85071a..02746fa6c6f 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -50,10 +50,10 @@ class OC_Filestorage_Local extends OC_Filestorage{
}
}
public function is_readable($path){
- return is_readable($this->datadir.$path);
+ return true;
}
public function is_writeable($path){
- return is_writeable($this->datadir.$path);
+ return true;
}
public function file_exists($path){
return file_exists($this->datadir.$path);