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:
6728145
)
Give the installerdbtype object to custom callbacks too :)
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 7 Jul 2010 13:53:27 +0000
(13:53 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 7 Jul 2010 13:53:27 +0000
(13:53 +0000)
includes/installer/Installer.php
patch
|
blob
|
history
diff --git
a/includes/installer/Installer.php
b/includes/installer/Installer.php
index
9ec3c42
..
625c2ef
100644
(file)
--- a/
includes/installer/Installer.php
+++ b/
includes/installer/Installer.php
@@
-873,7
+873,7
@@
abstract class Installer {
if ( is_array( $stepObj ) ) {
# A custom callaback
$callback = $stepObj['callback'];
- $status = call_user_func_array( $callback, array() );
+ $status = call_user_func_array( $callback, array(
$installer
) );
} else {
# Boring implicitly named callback
$func = 'install' . ucfirst( $step );