added email bounces processing, fixes #44

This commit is contained in:
following
2013-06-03 14:27:15 +02:00
parent 4aa530b274
commit a0172b1e10
10 changed files with 161 additions and 9 deletions

View File

@@ -173,4 +173,12 @@
sql("ALTER TABLE `cache_reports` ADD INDEX `userid` (`userid`)");
}
function dbv_108() // automatic email-bounce processiong
{
if (!sql_field_exists('user','last_email_problem'))
sql("ALTER TABLE `user` ADD COLUMN `last_email_problem` datetime default NULL AFTER `email_problems`");
if (!sql_field_exists('user','mailing_problems'))
sql("ALTER TABLE `user` ADD COLUMN `mailing_problems` int(10) unsigned NOT NULL default '0' AFTER `last_email_problem`");
}
?>