diff --git a/notifications/inc/class.notifications_ajax.inc.php b/notifications/inc/class.notifications_ajax.inc.php index 758da29b0b..c0c65575db 100644 --- a/notifications/inc/class.notifications_ajax.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -233,7 +233,7 @@ class notifications_ajax // cleanup messages older than our cut-off-date $this->db->delete(self::_notification_table, [ - 'notification_created <= '.$cut_off, + 'notify_created <= '.$cut_off, 'notify_type' => self::_type ], __LINE__, __FILE__, self::_appname); }