Request['id']); $drive = intval($this->Request['drive']); $storage = $this->getModule('storage')->getStorageById($storageid); if(!is_null($storage)) { $storageUmount = $this->getModule('bconsole')->bconsoleCommand($this->director, array('umount', 'storage="' . $storage->name . '"', 'drive=' . $drive), $this->user); $this->output = $storageUmount->output; $this->error = (integer)$storageUmount->exitcode; } else { $this->output = StorageError::MSG_ERROR_STORAGE_DOES_NOT_EXISTS; $this->error = StorageError::ERROR_STORAGE_DOES_NOT_EXISTS; } } } ?>