db = Database::getInstance(); } public function deleteNotification($id) { $stmt = $this->db->prepare("DELETE FROM notifications WHERE id = ?"); return $stmt->execute([$id]); } }