Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -282,7 +282,7 @@ |
283 | 283 | |
284 | 284 | if ( !isset( $this->dbInstallers[$type] ) ) { |
285 | 285 | $class = ucfirst( $type ). 'Installer'; |
286 | | - if ($class::isCompiled()) { |
| 286 | + if ( call_user_func( array( $class, 'isCompiled' ) ) ) { |
287 | 287 | $this->dbInstallers[$type] = new $class( $this ); |
288 | 288 | } else { |
289 | 289 | $this->dbInstallers[$type] = false; |
— | — | @@ -873,7 +873,7 @@ |
874 | 874 | $status = null; |
875 | 875 | |
876 | 876 | # Call our working function |
877 | | - if ( is_array( $step ) ) { |
| 877 | + if ( is_array( $stepObj ) ) { |
878 | 878 | # A custom callaback |
879 | 879 | $callback = $stepObj['callback']; |
880 | 880 | $status = call_user_func_array( $callback, array() ); |
— | — | @@ -914,12 +914,6 @@ |
915 | 915 | return $status; |
916 | 916 | } |
917 | 917 | |
918 | | - public function installUser() { |
919 | | - $installer = $this->getDBInstaller( $this->getVar( 'wgDBtype' ) ); |
920 | | - $status = $installer->setupUser(); |
921 | | - return $status; |
922 | | - } |
923 | | - |
924 | 918 | public function installTables() { |
925 | 919 | $installer = $this->getDBInstaller(); |
926 | 920 | $status = $installer->createTables(); |