From aeee08270dbdede64533ebd3ea8b739765cfd47a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 3 Sep 2020 19:43:35 -0600 Subject: [PATCH] Remove containing array --- lib/Event.lib.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/Event.lib.php b/lib/Event.lib.php index 5d47f2e..c6f06b8 100644 --- a/lib/Event.lib.php +++ b/lib/Event.lib.php @@ -105,15 +105,13 @@ class Event implements JsonSerializable { global $Strings; if ($this->exists) { return [ - "info" => [ - "id" => $this->getID(), - "machineid" => $this->getMachineID(), - "name" => $this->getName(), - "date" => $this->getDate(), - "techuid" => $this->getTechUID(), - "publicnotes" => $this->getPublicNotes(), - "privatenotes" => $this->getPrivateNotes() - ] + "id" => $this->getID(), + "machineid" => $this->getMachineID(), + "name" => $this->getName(), + "date" => $this->getDate(), + "techuid" => $this->getTechUID(), + "publicnotes" => $this->getPublicNotes(), + "privatenotes" => $this->getPrivateNotes() ]; } return [];