Removed unwanted traces (again)
Former-commit-id: c6453610177b1894bc9d65c8297cd4f8ee01092d
This commit is contained in:
parent
35ea03ddf6
commit
105341e553
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue