X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2FProfiler.php;h=8485edbbd386ff4b638f306054807d0786b147d9;hb=f88c771756c580442fe7ca2f84bcbb8067b77f57;hp=b9e3d14df4dfd31653aa6916a968025cf0f10cba;hpb=50d9a5ec18cd1e952433b9ee1f22bf04916d1537;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Profiler.php b/includes/Profiler.php index b9e3d14df4..8485edbbd3 100644 --- a/includes/Profiler.php +++ b/includes/Profiler.php @@ -304,7 +304,7 @@ class Profiler { global $wguname, $wgProfilePerHost; $fname = 'Profiler::logToDB'; - $dbw = & wfGetDB(DB_MASTER); + $dbw = wfGetDB(DB_MASTER); if (!is_object($dbw)) return false; $errorState = $dbw->ignoreErrors( true );