From 62e6f08e4fdced8e1e557245cd2fafc72a979d91 Mon Sep 17 00:00:00 2001 From: thnilsen Date: Fri, 7 Dec 2018 22:46:16 +0100 Subject: [PATCH] Code cleanup as suggested by the codacy service. - Renamed get_service_details to populate_impacted_services - Removed unused variables --- classes/incident.php | 4 ++-- classes/notification.php | 10 +++++++--- classes/subscriber.php | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/classes/incident.php b/classes/incident.php index c71b74b..2190f46 100644 --- a/classes/incident.php +++ b/classes/incident.php @@ -168,7 +168,7 @@ class Incident implements JsonSerializable // Perform notification to subscribers $notify = new Notification(); - $notify->get_service_details($status_id); + $notify->populate_impacted_services($status_id); $notify->type = $type; $notify->time = $time; @@ -210,7 +210,7 @@ class Incident implements JsonSerializable