Remove containing array

master
Skylar Ittner 4 years ago
parent c31826e656
commit aeee08270d

@ -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 [];

Loading…
Cancel
Save