$this->maintenance->setDB( $db );
$this->initOldGlobals();
$this->loadExtensions();
- wfRunHooks( 'LoadExtensionSchemaUpdates', array( $this ) );
+ Hooks::run( 'LoadExtensionSchemaUpdates', array( $this ) );
}
/**
* Append a line to the open filehandle. The line is assumed to
* be a complete SQL statement.
*
- * This is used as a callback for for sourceLine().
+ * This is used as a callback for sourceLine().
*
* @param string $line Text to append to the file
* @return bool False to skip actually executing the file
$out = $wgProfiler['output'];
if ( $out === 'db' ) {
$profileToDb = true;
- } elseif( is_array( $out ) && in_array( 'db', $out ) ) {
+ } elseif ( is_array( $out ) && in_array( 'db', $out ) ) {
$profileToDb = true;
}
}