dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a90ec2
)
Don't call getCheckboxes() statically anymore
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Dec 2008 01:19:54 +0000
(
01:19
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Dec 2008 01:19:54 +0000
(
01:19
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
4161acb
..
6287aaa
100644
(file)
--- 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();