* @author Brion Vibber
* @author Rob Church <robchur@gmail.com>
*
- * @licence GNU General Public License 2.0 or later
+ * @license GNU General Public License 2.0 or later
*/
require_once( 'commandLine.inc' );
);
// Get cached stats from slave database
-$dbr =& wfGetDB( DB_SLAVE );
+$dbr = wfGetDB( DB_SLAVE );
$fname = 'showStats';
$stats = $dbr->selectRow( 'site_stats', '*', '' );
foreach( $fields as $field => $desc ) {
printf( "%-{$max_length_desc}s: %{$max_length_value}d\n", $desc, $stats->$field );
}
-?>
+