delete old notifications

This commit is contained in:
Serghey Rodin 2016-06-27 20:29:09 +03:00
commit 2788426567
4 changed files with 17 additions and 3 deletions

View file

@ -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);