Subscript. notifications to already deleted users

If a user gets deleted also delete his subscription entries from table sys_sbs_entries or dolphin always tries to send emails to them if a subscription gets triggered. Which results in periodic reports like:

 

- Start email send -
Total queued emails: 3
Ready for send: 3
Cannot send message to
Cannot send message to
Cannot send message to
Processed emails: 0

 

In /inc/admin.inc.php add the following code in function profile_delete($ID) {}

 

db_res( "DELETE FROM `sys_sbs_entries` WHERE `subscriber_id` = {$ID}" );


Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 28 Feb 2013

http://www.boonex.com/trac/dolphin/ticket/3065

Rules → http://www.boonex.com/terms
Quote · 2 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.