コード例 #1
0
 /**
  * Move the mount point to $target
  *
  * @param string $target the target mount point
  * @return bool
  */
 public function moveMount($target)
 {
     $result = \OC_Mount_Config::movePersonalMountPoint($this->getMountPoint(), $target, \OC_Mount_Config::MOUNT_TYPE_USER);
     $this->setMountPoint($target);
     return $result;
 }