From 4690c2fb47106058358cb05f2e86d272a759e24f Mon Sep 17 00:00:00 2001 From: Stephane Bisson Date: Thu, 17 May 2018 22:29:09 +0200 Subject: [PATCH] Use static newFromID instead of loadFromID Bug: T192945 Change-Id: Ifd7c40dfef5147581a59d39a6dbe7312a9b82cc6 --- includes/jobs/NotificationJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/jobs/NotificationJob.php b/includes/jobs/NotificationJob.php index 6f74e14f8..c7a78f2ab 100644 --- a/includes/jobs/NotificationJob.php +++ b/includes/jobs/NotificationJob.php @@ -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 );