Add 1.27.3 to RELEASE-NOTES
[lhc/web/wiklou.git] / profileinfo.php
index 466f26a..83ae193 100644 (file)
@@ -150,7 +150,7 @@ if ( !$wgEnableProfileInfo ) {
        exit( 1 );
 }
 
-$dbr = wfGetDB( DB_SLAVE );
+$dbr = wfGetDB( DB_REPLICA );
 
 if ( !$dbr->tableExists( 'profiling' ) ) {
        echo '<p>No <code>profiling</code> table exists, so we can\'t show you anything.</p>'