Performance improvements for the tree.
This commit is contained in:
@@ -149,7 +149,10 @@ class AJAXTree extends HTMLTree {
|
||||
debug_log('Entered (%%)',33,0,__FILE__,__LINE__,__METHOD__,$fargs);
|
||||
|
||||
$children = array();
|
||||
foreach ($parent_entry->getChildren() as $child) {
|
||||
$pchildren = $parent_entry->getChildren();
|
||||
usort($pchildren,'pla_compare_dns');
|
||||
|
||||
foreach ($pchildren as $child) {
|
||||
if (! $this->getEntry($child))
|
||||
$this->addEntry($child);
|
||||
|
||||
|
Reference in New Issue
Block a user