Added full logic of notifications.
This commit is contained in:
@@ -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')";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user