Fix database table name, it is 'profiling', not 'profileinfo'
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 21 Jan 2012 16:45:32 +0000 (16:45 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 21 Jan 2012 16:45:32 +0000 (16:45 +0000)
profileinfo.php

index 37e7a04..1549349 100644 (file)
@@ -80,8 +80,8 @@ if ( !$wgEnableProfileInfo ) {
 
 $dbr = wfGetDB( DB_SLAVE );
 
-if( !$dbr->tableExists( 'profileinfo' ) ) {
-       echo "<p>No 'profileinfo' table exists, so we can't show you anything.</p>\n";
+if( !$dbr->tableExists( 'profiling' ) ) {
+       echo "<p>No 'profiling' table exists, so we can't show you anything.</p>\n";
        echo "<p>If you want to log profiling data, create the table using "
                . "<tt>maintenance/archives/patch-profiling.sql</tt> and enable "
                . "<tt>\$wgProfileToDatabase</tt>.</p>\n";