mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Add return true to unlink() and rename(), a return is expected by OC_FILESYSTEM
This commit is contained in:
parent
5aaacf3241
commit
f3f8a96c6d
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue