From 23b0abb9742d3418484fe8d01609f6849d7960ce Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 4 Mar 2009 08:51:49 +0000 Subject: Redefine the batch API to be very very simple. You call batch::start() before starting a series of events, and batch::stop() when you're done. In batch mode, the notification module will store up pending notifications. When the batch job is complete, it'll send a single digested email to each user for all of her notifications. Updated the scaffold and local_import to use this. Haven't modified SimpleUploader yet. --- .../notification/models/pending_notification.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/notification/models/pending_notification.php (limited to 'modules/notification/models') diff --git a/modules/notification/models/pending_notification.php b/modules/notification/models/pending_notification.php new file mode 100644 index 00000000..d3fb3cf8 --- /dev/null +++ b/modules/notification/models/pending_notification.php @@ -0,0 +1,21 @@ +