From: Aaron Schulz Date: Sat, 20 Dec 2008 01:19:54 +0000 (+0000) Subject: Don't call getCheckboxes() statically anymore X-Git-Tag: 1.31.0-rc.0~43869 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=8c4a2f76fa93e740650ec70ca58ce30a80fbda89;p=lhc%2Fweb%2Fwiklou.git Don't call getCheckboxes() statically anymore --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 4161acb058..6287aaa8f0 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1388,7 +1388,7 @@ class EditPage { $tabindex = 2; - $checkboxes = self::getCheckboxes( $tabindex, $sk, + $checkboxes = $this->getCheckboxes( $tabindex, $sk, array( 'minor' => $this->minoredit, 'watch' => $this->watchthis ) ); $checkboxhtml = implode( $checkboxes, "\n" ); @@ -2055,7 +2055,7 @@ END * * @return array */ - public static function getCheckboxes( &$tabindex, $skin, $checked ) { + public function getCheckboxes( &$tabindex, $skin, $checked ) { global $wgUser; $checkboxes = array();