This commit is contained in:
pstevens71 2025-08-13 10:24:41 +02:00 committed by GitHub
commit 71313187e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -911,7 +911,18 @@ class SugarFolder
return $ret;
}
private function getChildFolders($folders, $parentId)
{
$children = array();
foreach ($folders as $folder) {
if ($folder['parent_folder'] === $parentId) {
$children[] = $folder;
}
}
return $children;
}
/**
* Remove folders of deleted inbounds
*