]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix rebase issue
authorRobin Appelman <icewind@owncloud.com>
Tue, 7 Apr 2015 15:53:40 +0000 (17:53 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 13 Apr 2015 13:13:03 +0000 (15:13 +0200)
lib/private/files/view.php

index 84164e2a249979766b53146cd946999a22b29e5d..313237c5f59ff1b1550c4f6e2bb657aa8f2b2a7f 100644 (file)
@@ -614,7 +614,8 @@ class View {
                        }
                        if ($run) {
                                $this->verifyPath(dirname($path2), basename($path2));
-                               
+
+                               $manager = Filesystem::getMountManager();
                                $mount1 = $this->getMount($path1);
                                $mount2 = $this->getMount($path2);
                                $storage1 = $mount1->getStorage();
@@ -642,7 +643,6 @@ class View {
                                } else {
                                        $result = $storage2->moveFromStorage($storage1, $internalPath1, $internalPath2);
                                }
-                               \OC_FileProxy::runPostProxies('rename', $absolutePath1, $absolutePath2);
                                if ((Cache\Scanner::isPartialFile($path1) && !Cache\Scanner::isPartialFile($path2)) && $result !== false) {
                                        // if it was a rename from a part file to a regular file it was a write and not a rename operation
                                        $this->updater->update($path2);