From e3d8e3ecf89373d6b1cc7daf3508b4819bfe72ba Mon Sep 17 00:00:00 2001 From: thnilsen Date: Tue, 16 Jun 2020 20:11:25 +0200 Subject: [PATCH] Added queue to handle sending of subscribers notifications --- admin/dashboard.php | 11 ++- classes/mailer.php | 75 +++++++++--------- classes/notification.php | 162 +++++++++++++++++++++++++++++++++----- classes/queue.php | 163 +++++++++++++++++++++++++++++++++++++++ classes/service.php | 4 +- 5 files changed, 351 insertions(+), 64 deletions(-) create mode 100644 classes/queue.php diff --git a/admin/dashboard.php b/admin/dashboard.php index b6dec52..665540d 100644 --- a/admin/dashboard.php +++ b/admin/dashboard.php @@ -1,4 +1,4 @@ -
@@ -45,7 +48,7 @@ Template::render_header(_("Dashboard"), true);
-