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
|
@ -384,6 +384,9 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
||||||
OC_SHARE::setTarget($oldTarget, $newTarget);
|
OC_SHARE::setTarget($oldTarget, $newTarget);
|
||||||
} else {
|
} else {
|
||||||
OC_SHARE::pullOutOfFolder($oldTarget, $newTarget);
|
OC_SHARE::pullOutOfFolder($oldTarget, $newTarget);
|
||||||
|
if (self::is_dir($path1)) {
|
||||||
|
OC_SHARE::setTarget($oldTarget, $newTarget);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue