From: Alexandre Emsenhuber Date: Sat, 21 Jan 2012 16:45:32 +0000 (+0000) Subject: Fix database table name, it is 'profiling', not 'profileinfo' X-Git-Tag: 1.31.0-rc.0~25149 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=8217e2658e4b2083677088e8a206778de2b03816;p=lhc%2Fweb%2Fwiklou.git Fix database table name, it is 'profiling', not 'profileinfo' --- diff --git a/profileinfo.php b/profileinfo.php index 37e7a04a8e..1549349bfd 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -80,8 +80,8 @@ if ( !$wgEnableProfileInfo ) { $dbr = wfGetDB( DB_SLAVE ); -if( !$dbr->tableExists( 'profileinfo' ) ) { - echo "

No 'profileinfo' table exists, so we can't show you anything.

\n"; +if( !$dbr->tableExists( 'profiling' ) ) { + echo "

No 'profiling' table exists, so we can't show you anything.

\n"; echo "

If you want to log profiling data, create the table using " . "maintenance/archives/patch-profiling.sql and enable " . "\$wgProfileToDatabase.

\n";