$file = $this->retrieveEventLog();
if(!$file){
- return 'No record?!';
+ return "No records?!";
}
- $source = json_decode(file_get_contents($file))->POST['source'];
- print_r($source);exit;
+ $source = json_decode(file_get_contents($file));
+
return $source;
}