From 8c4a2f76fa93e740650ec70ca58ce30a80fbda89 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 20 Dec 2008 01:19:54 +0000 Subject: [PATCH] Don't call getCheckboxes() statically anymore --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1