DB_SLAVE -> DB_REPLICA (#44)

* --amend

* Add Beerpay badge

* Remove beerpay badge.

* Remove erroneous release folder from master branch.

* DB_SLAVE -> DB_REPLICA

DB_SLAVE has been removed under 1.34 thus throws an exception.

* Update Targets.php

* Update linktitles-cli.php

* Update Special.php
This commit is contained in:
paladox
2019-12-18 20:25:35 +00:00
committed by Daniel Kraus
parent a3dff9f172
commit ee4386a8c9
4 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ class Special extends \SpecialPage {
$startTime = microtime( true );
// Connect to the database
$dbr = wfGetDB( DB_SLAVE );
$dbr = wfGetDB( DB_REPLICA );
// Fetch the start index and max number of records from the POST
// request.