Add return true to unlink() and rename(), a return is expected by OC_FILESYSTEM
This commit is contained in:
parent
5aaacf3241
commit
f3f8a96c6d
|
@ -374,6 +374,7 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
|||
} else {
|
||||
OC_SHARE::unshareFromMySelf($target);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rename($path1, $path2) {
|
||||
|
@ -388,6 +389,7 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
|||
OC_SHARE::setTarget($oldTarget, $newTarget);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public function copy($path1, $path2) {
|
||||
|
|
Loading…
Reference in New Issue