summaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-25 17:39:28 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-25 17:39:28 -0400
commit586fe8f9407581c1d6f4dc8790dcf611d96569cc (patch)
treea813c594a903889b06b52f87109527b22310d289 /lib/filestorage
parentadd8f093554242e64ce650e9252735b02881bda7 (diff)
downloadnextcloud-server-586fe8f9407581c1d6f4dc8790dcf611d96569cc.tar.gz
nextcloud-server-586fe8f9407581c1d6f4dc8790dcf611d96569cc.zip
Change is_writable() call to isUpdatable()
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 6be04db96ae..94b3147b73b 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -85,7 +85,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
return $this->delTree($path);
}
public function rename($path1,$path2){
- if (!$this->is_writable($path1)) {
+ if (!$this->isUpdatable($path1)) {
OC_Log::write('core','unable to rename, file is not writable : '.$path1,OC_Log::ERROR);
return false;
}