mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
DashboardPane: Rename param $order to $ordered in method getDashlets
refs #5600
This commit is contained in:
parent
6a52de8a44
commit
84f733b177
@ -33,17 +33,17 @@ class DashboardPane extends NavigationItem
|
||||
/**
|
||||
* Return this pane's dashlets
|
||||
*
|
||||
* @param bool $order Whether to order the dashlets first
|
||||
* @param bool $ordered Whether to order the dashlets first
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDashlets($order = true)
|
||||
public function getDashlets($ordered = true)
|
||||
{
|
||||
if ($this->dashlets === null) {
|
||||
return array();
|
||||
}
|
||||
|
||||
if ($order) {
|
||||
if ($ordered) {
|
||||
ksort($this->dashlets);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user