Esempio n. 1
0
 /**
  * @param int $id
  * @return Mount\MountPoint[]
  */
 public static function getMountByNumericId($id)
 {
     if (!self::$mounts) {
         \OC_Util::setupFS();
     }
     return self::$mounts->findByNumericId($id);
 }
Esempio n. 2
0
 /**
  * @param int $numericId
  * @return MountPoint[]
  */
 public function getMountByNumericStorageId($numericId)
 {
     return $this->mountManager->findByNumericId($numericId);
 }