stable

Clone or download

Read-only

Remove the Mail class

All of what the Mail class does is also done by the Codendi_Mail class. This contribution removes the oldest implementation to only keep the Codendi_Mail class. It will make adding about the number of mails sent really easy. Part of request #11913: Add a metric about the total number of mail sent Change-Id: I8bccea87d65a51322f5383b47d55f313d9191598

Modified Files

Name
M plugins/docman/include/ApprovalTable/NotificationCycle.class.php +3 −2 Go to diff View file
M plugins/docman/include/ApprovalTable/Reviewer/ReviewerFactory.class.php +4 −4 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager.class.php +1 −3 Go to diff View file
M plugins/docman/tests/NotificationsManagerTest.php +3 −5 Go to diff View file
M plugins/forumml/www/index.php +5 −9 Go to diff View file
M plugins/forumml/www/message.php +1 −6 Go to diff View file
M plugins/tracker_date_reminder/include/ArtifactDateReminderFactory.class.php +8 −14 Go to diff View file
M src/common/autoload.php +2 −3 Go to diff View file
M src/common/error/Error_PermissionDenied.class.php +2 −2 Go to diff View file
D src/common/mail/Mail.class.php +0 −297 Go to diff View file
M src/common/mail/MailManager.class.php +3 −39 Go to diff View file
M src/common/system_event/SystemEvent.class.php +2 −2 Go to diff View file
M src/common/system_event/include/Massmail.php +3 −6 Go to diff View file
M src/common/system_event/include/SystemEvent_COMPUTE_MD5SUM.class.php +7 −7 Go to diff View file
M src/common/tracker/Artifact.class.php +2 −2 Go to diff View file
M src/common/user/Account/ChangePasswordController.php +2 −2 Go to diff View file
M src/www/account/lostpw-confirm.php +3 −3 Go to diff View file
M src/www/account/register.php +1 −3 Go to diff View file
M src/www/admin/massmail_execute.php +3 −5 Go to diff View file
M src/www/forum/forum_utils.php +22 −8 Go to diff View file
M src/www/include/account.php +2 −2 Go to diff View file
M src/www/my/rmproject.php +3 −4 Go to diff View file
M src/www/news/news_utils.php +2 −2 Go to diff View file
M src/www/sendmessage.php +2 −3 Go to diff View file
M src/www/tracker/include/ArtifactHtml.class.php +20 −17 Go to diff View file
M tests/lib/autoload.php +3 −5 Go to diff View file
M tests/simpletest/common/mail/MailManagerTest.php +1 −55 Go to diff View file
D tests/simpletest/common/mail/MailTest.php +0 −106 Go to diff View file