We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07b041f + 145a19d commit d2ebd91Copy full SHA for d2ebd91
1 file changed
lib/private/Files/Cache/Cache.php
@@ -791,6 +791,7 @@ public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
791
$this->connection->commit();
792
793
if ($sourceCache->getNumericStorageId() !== $this->getNumericStorageId()) {
794
+ \OCP\Server::get(\OCP\Files\Config\IUserMountCache::class)->clear();
795
$this->eventDispatcher->dispatchTyped(new CacheEntryRemovedEvent($this->storage, $sourcePath, $sourceId, $sourceCache->getNumericStorageId()));
796
$event = new CacheEntryInsertedEvent($this->storage, $targetPath, $sourceId, $this->getNumericStorageId());
797
$this->eventDispatcher->dispatch(CacheInsertEvent::class, $event);
0 commit comments