YaWK
24.1
Yet another WebKit
reopen-singleNotification.php
Go to the documentation of this file.
1
<?php
2
require_once
'../../system/classes/db.php'
;
3
require_once
'../../system/classes/sys.php'
;
4
$db
= new \YAWK\db();
5
$id
= $_POST[
'id'
];
6
// SET NOTIFICATION STATUS TO SEEN
7
if
(
$db
->query(
"UPDATE {syslog} SET seen = '0' WHERE log_id = '$id'"
))
8
{
// success
9
echo
"true"
;
10
}
11
else
12
{
// q failed
13
echo
"false"
;
14
// echo \YAWK\alert::draw("warning","Warning!", "Could not set notification status. Please try again.",'',4200);
15
}
$db
$db
Definition:
reopen-singleNotification.php:4
$id
$id
Definition:
reopen-singleNotification.php:5
yawk.io
admin
js
reopen-singleNotification.php
Generated on Tue Jan 16 2024 21:58:59 for YaWK by
doxygen 1.9.1