DashboardPane: Rename param $order to $ordered in method getDashlets

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-17 08:25:17 +02:00
parent 6a52de8a44
commit 84f733b177

View File

@ -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);
} }