r109683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109682‎ | r109683 | r109684 >
Date:16:45, 21 January 2012
Author:ialex
Status:ok
Tags:
Comment:
Fix database table name, it is 'profiling', not 'profileinfo'
Modified paths:
  • /trunk/phase3/profileinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/profileinfo.php
@@ -80,8 +80,8 @@
8181
8282 $dbr = wfGetDB( DB_SLAVE );
8383
84 -if( !$dbr->tableExists( 'profileinfo' ) ) {
85 - echo "<p>No 'profileinfo' table exists, so we can't show you anything.</p>\n";
 84+if( !$dbr->tableExists( 'profiling' ) ) {
 85+ echo "<p>No 'profiling' table exists, so we can't show you anything.</p>\n";
8686 echo "<p>If you want to log profiling data, create the table using "
8787 . "<tt>maintenance/archives/patch-profiling.sql</tt> and enable "
8888 . "<tt>\$wgProfileToDatabase</tt>.</p>\n";

Status & tagging log