File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ public function transfer(
109109 // a lazy root folder which does not create the destination users folder
110110 \OC_Util::setupFS ($ sourceUser ->getUID ());
111111 \OC_Util::setupFS ($ destinationUser ->getUID ());
112- \ OC :: $ server ->getUserFolder ($ sourceUser ->getUID ());
113- \ OC :: $ server ->getUserFolder ($ destinationUser ->getUID ());
112+ $ this -> rootFolder ->getUserFolder ($ sourceUser ->getUID ());
113+ $ this -> rootFolder ->getUserFolder ($ destinationUser ->getUID ());
114114 Filesystem::initMountPoints ($ sourceUid );
115115 Filesystem::initMountPoints ($ destinationUid );
116116
@@ -477,7 +477,7 @@ private function restoreShares(
477477 } catch (\OCP \Files \NotFoundException ) {
478478 // ID has changed due to transfer between different storages
479479 // Try to get the new ID from the target path and suffix of the share
480- $ node = $ rootFolder ->get (Filesystem::normalizePath ($ targetLocation . '/ ' . $ suffix ));
480+ $ node = $ this -> rootFolder ->get (Filesystem::normalizePath ($ targetLocation . '/ ' . $ suffix ));
481481 $ newNodeId = $ node ->getId ();
482482 $ output ->writeln ('Had to change node id to ' . $ newNodeId , OutputInterface::VERBOSITY_VERY_VERBOSE );
483483 }
You can’t perform that action at this time.
0 commit comments