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

This commit is contained in:
Robin Appelman 2014-05-22 01:40:04 +02:00
parent 60a659c87e
commit 8abe1c3f1a
1 changed files with 4 additions and 0 deletions

View File

@ -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) {