mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
Fix bug in rename() so files in a folder that is in a shared folder also get their targets updated
This commit is contained in:
parent
dbcb35655e
commit
5aaacf3241
1 changed files with 3 additions and 0 deletions
|
|
@ -384,6 +384,9 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
|||
OC_SHARE::setTarget($oldTarget, $newTarget);
|
||||
} else {
|
||||
OC_SHARE::pullOutOfFolder($oldTarget, $newTarget);
|
||||
if (self::is_dir($path1)) {
|
||||
OC_SHARE::setTarget($oldTarget, $newTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue