From: Chad Horohoe Date: Wed, 7 Jul 2010 13:53:27 +0000 (+0000) Subject: Give the installerdbtype object to custom callbacks too :) X-Git-Tag: 1.31.0-rc.0~36223 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=c12b1cf0846193a0564d6c1a9ca03f3c47b4b752;p=lhc%2Fweb%2Fwiklou.git Give the installerdbtype object to custom callbacks too :) --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 9ec3c42ba4..625c2efd69 100644 --- 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 );