mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "maintenance: Add caller when running query builder"
This commit is contained in:
commit
55fd760f68
|
@ -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