Change is_writable() call to isUpdatable()

This commit is contained in:
Michael Gapczynski 2012-07-25 17:39:28 -04:00
parent add8f09355
commit 586fe8f940
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}