Removed unwanted traces (again)

Former-commit-id: c6453610177b1894bc9d65c8297cd4f8ee01092d
This commit is contained in:
fermin831 2019-02-12 16:01:24 +01:00
parent 35ea03ddf6
commit 105341e553
1 changed files with 0 additions and 3 deletions

View File

@ -126,18 +126,15 @@ if (get_parameter('check_new_notifications', 0)) {
} }
if (get_parameter('mark_notification_as_read', 0)) { if (get_parameter('mark_notification_as_read', 0)) {
hd("asdfe", true);
$message = (int) get_parameter('message', 0); $message = (int) get_parameter('message', 0);
messages_process_read($message); messages_process_read($message);
// TODO check read. // TODO check read.
$url = messages_get_url($message); $url = messages_get_url($message);
hd("asdfe 2" . $url, true);
// Return false if cannot get the URL. // Return false if cannot get the URL.
if ($url === false) { if ($url === false) {
echo json_encode(['result' => false]); echo json_encode(['result' => false]);
return; return;
} }
hd("asdfe 03", true);
// If there is new messages, get the info. // If there is new messages, get the info.
echo json_encode( echo json_encode(