mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
delete old notifications
This commit is contained in:
parent
5f4f05386f
commit
2788426567
4 changed files with 17 additions and 3 deletions
|
@ -21,7 +21,6 @@ if($_GET['delete'] == 1){
|
|||
} else {
|
||||
$v_username = escapeshellarg($user);
|
||||
$v_id = escapeshellarg((int)$_GET['notification_id']);
|
||||
echo VESTA_CMD."v-acknowledge-user-notification ".$v_username." ".$v_id;
|
||||
exec (VESTA_CMD."v-acknowledge-user-notification ".$v_username." ".$v_id, $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
unset($output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue