<?php
// pages/components/notification_dismiss.php
use Components\Data\Notifications;

$id = mh_get('id', 0, 'int');
if ($id > 0) {
    Notifications::dismiss($id);
}

// Return 204 No Content
http_response_code(204);
exit;
