mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
maintenance: Add caller when running query builder
Change-Id: Ib86db407516a6ccf73442eb3e5724b4c36af5123
This commit is contained in:
parent
ca500a3937
commit
69eea92d2d
|
@ -40,6 +40,7 @@ class RemoveOrphanedEvents extends LoggedUpdateMaintenance {
|
|||
$maxId = (int)$dbr->newSelectQueryBuilder()
|
||||
->select( 'MAX(event_id)' )
|
||||
->from( 'echo_event' )
|
||||
->caller( __METHOD__ )
|
||||
->fetchField();
|
||||
$eventsProcessedTotal = 0;
|
||||
$targetsProcessedTotal = 0;
|
||||
|
|
Loading…
Reference in a new issue