Don't do rename hooks for cache when moving the mountpoint
This commit is contained in:
parent
60a659c87e
commit
8abe1c3f1a
|
@ -83,6 +83,10 @@ class Updater {
|
||||||
* @var string $internalTo
|
* @var string $internalTo
|
||||||
*/
|
*/
|
||||||
list($storageFrom, $internalFrom) = self::resolvePath($from);
|
list($storageFrom, $internalFrom) = self::resolvePath($from);
|
||||||
|
// if it's a moved mountpoint we dont need to do anything
|
||||||
|
if ($internalFrom === '') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
list($storageTo, $internalTo) = self::resolvePath($to);
|
list($storageTo, $internalTo) = self::resolvePath($to);
|
||||||
if ($storageFrom && $storageTo) {
|
if ($storageFrom && $storageTo) {
|
||||||
if ($storageFrom === $storageTo) {
|
if ($storageFrom === $storageTo) {
|
||||||
|
|
Loading…
Reference in New Issue