mirror of
https://github.com/friendica/friendica
synced 2024-11-19 09:03:42 +00:00
Some more formatting
This commit is contained in:
parent
cce0d0c21b
commit
4b4298b0f8
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,7 @@ class Context extends BaseApi
|
|||
{
|
||||
if (!empty($parents[$id])) {
|
||||
$list[] = $parents[$id];
|
||||
|
||||
$list = self::getParents($parents[$id], $parents, $list);
|
||||
}
|
||||
return $list;
|
||||
|
@ -89,6 +90,7 @@ class Context extends BaseApi
|
|||
if (!empty($children[$id])) {
|
||||
foreach ($children[$id] as $child) {
|
||||
$list[] = $child;
|
||||
|
||||
$list = self::getChildren($child, $children, $list);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue