mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +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
|
* 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
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getDashlets($order = true)
|
public function getDashlets($ordered = true)
|
||||||
{
|
{
|
||||||
if ($this->dashlets === null) {
|
if ($this->dashlets === null) {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($order) {
|
if ($ordered) {
|
||||||
ksort($this->dashlets);
|
ksort($this->dashlets);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user