Merge "Use static newFromID instead of loadFromID"

This commit is contained in:
jenkins-bot 2018-05-19 11:57:00 +00:00 committed by Gerrit Code Review
commit 941e1a65df

View file

@ -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 );