Skip to content
Snippets Groups Projects
Commit 8abe1c3f authored by Robin Appelman's avatar Robin Appelman
Browse files

Don't do rename hooks for cache when moving the mountpoint

parent 60a659c8
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,10 @@ class Updater {
* @var string $internalTo
*/
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);
if ($storageFrom && $storageTo) {
if ($storageFrom === $storageTo) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment