From 586fe8f9407581c1d6f4dc8790dcf611d96569cc Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Wed, 25 Jul 2012 17:39:28 -0400 Subject: [PATCH] Change is_writable() call to isUpdatable() --- lib/filestorage/local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 6be04db96a..94b3147b73 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; }