implemented snapshot name parsing
This commit is contained in:
parent
a024d93e02
commit
85d63d5ae2
8 changed files with 175 additions and 36 deletions
|
@ -70,12 +70,12 @@ class PathManager {
|
|||
private function checkIfGroupfolderExists(int $groupfolderId): bool {
|
||||
$storageId = $this->getRootFolderStorageId();
|
||||
if ($storageId === null) {
|
||||
return "storage Id null";
|
||||
return false;
|
||||
}
|
||||
|
||||
$folder = $this->groupfolderFolderManager->getFolder($groupfolderId, $storageId);
|
||||
if ($folder === false) {
|
||||
return "Folder does not exist";
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue