YaWK
24.1
Yet another WebKit
dismiss-notifications.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
$uid
= $_POST[
'uid'
];
6
// SET NOTIFICATION STATUS TO SEEN
7
if
(
$db
->query(
"UPDATE {syslog} SET seen = '1' WHERE seen = '0'"
))
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
}
$uid
$uid
Definition:
dismiss-notifications.php:5
$db
$db
Definition:
dismiss-notifications.php:4
yawk.io
admin
js
dismiss-notifications.php
Generated on Tue Jan 16 2024 21:58:59 for YaWK by
doxygen 1.9.1