mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Use static newFromID instead of loadFromID"
This commit is contained in:
commit
941e1a65df
|
@ -20,7 +20,7 @@ class EchoNotificationJob extends Job {
|
|||
// TEMPORARY: some jobs already in the queue
|
||||
// have $this->event but not $this->eventId
|
||||
$event = isset( $this->eventId ) ?
|
||||
EchoEvent::loadFromID( $this->eventId ) :
|
||||
EchoEvent::newFromID( $this->eventId ) :
|
||||
$this->event;
|
||||
|
||||
EchoNotificationController::notify( $event, false );
|
||||
|
|
Loading…
Reference in a new issue