Added full logic of notifications.

This commit is contained in:
2024-10-28 01:17:00 +04:00
parent 7bd845b152
commit d2295a6328
7 changed files with 576 additions and 41 deletions
@@ -415,4 +415,6 @@ function markForIntervention($id, $pdo)
$query = "UPDATE temp_json_queue SET processed = 2 WHERE id = :id";
$stmt = $pdo->prepare($query);
$stmt->execute(['id' => $id]);
$query = "INSERT INTO notifications (`title`,`description`) VALUES ('Intervention Required', 'Intervention required for JSON entry with ID $id')";
}