diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-01-01 18:40:32 -0500 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-01-01 18:41:00 -0500 |
commit | a9bab168f5e43bfa5fe1523aab80faf1bc02cd58 (patch) | |
tree | 9dc954fd7353458ddef847a9966b21564c8649a3 /lib/filestorage | |
parent | 1415cb8d196761b4f3b0ecb567aa2377fb417840 (diff) | |
download | nextcloud-server-a9bab168f5e43bfa5fe1523aab80faf1bc02cd58.tar.gz nextcloud-server-a9bab168f5e43bfa5fe1523aab80faf1bc02cd58.zip |
Replace canRead()/canWrite() with is_readable()/is_writeable() for proper permission checks
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 4 |
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); |