Index: trunk/extensions/Wikilog/WikilogMainPage.php |
— | — | @@ -299,7 +299,7 @@ |
300 | 300 | */ |
301 | 301 | private function loadWikilogData() { |
302 | 302 | if ( !$this->mWikilogDataLoaded ) { |
303 | | - $dbr = $this->getDB(); |
| 303 | + $dbr = wfGetDB( DB_SLAVE ); |
304 | 304 | $data = $this->getWikilogDataFromId( $dbr, $this->getId() ); |
305 | 305 | if ( $data ) { |
306 | 306 | $this->mWikilogSubtitle = unserialize( $data->wlw_subtitle ); |