Skip to content

Commit

Permalink
Merge pull request #122 from wdammak/patch-18
Browse files Browse the repository at this point in the history
Update Controller.php
  • Loading branch information
rohit053 authored Oct 20, 2020
2 parents 73e5258 + 06416ae commit 5a8992c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/profiling/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ protected function processProfilingData()
$this->array_queries[] = $query_row;
}

uasort(ObjectModel::$debug_list, create_function('$a,$b', 'return (count($a) < count($b)) ? 1 : -1;'));
uasort(ObjectModel::$debug_list, function ($a, $b) { return (count($a) < count($b)) ? 1 : -1; } );
arsort(Db::getInstance()->tables);
arsort(Db::getInstance()->uniqQueries);
}
Expand Down

0 comments on commit 5a8992c

Please sign in to comment.