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