]> source.dussan.org Git - nextcloud-server.git/commitdiff
Share Updater doesn't need to call the cache updaters correctFolder method, this...
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 28 Oct 2013 11:00:16 +0000 (12:00 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 28 Oct 2013 11:00:16 +0000 (12:00 +0100)
apps/files_sharing/lib/updater.php

index 1e629f3414ffe858604ee87270f9dd73da8d39ec..9d08f2789237f6a8b87bc6bedc56effe05314e88 100644 (file)
@@ -49,13 +49,6 @@ class Shared_Updater {
                                }
                                $users = $reshareUsers;
                        }
-                       // Correct folders of shared file owner
-                       $target = substr($target, 8);
-                       if ($uidOwner !== $uid && $source = \OC_Share_Backend_File::getSource($target)) {
-                               \OC\Files\Filesystem::initMountPoints($uidOwner);
-                               $source = '/'.$uidOwner.'/'.$source['path'];
-                               \OC\Files\Cache\Updater::correctFolder($source, $info['mtime']);
-                       }
                }
        }