Skip to content
Snippets Groups Projects
Commit 586fe8f9 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Change is_writable() call to isUpdatable()

parent add8f093
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment