mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 08:17:18 +08:00
Merge 9b974aed12
into 3e06d0f16a
This commit is contained in:
commit
71313187e6
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue