fix email resend()

it was using old  System::getEmailSettings()  which was trying to find email config in settings table
This commit is contained in:
Vaidas Lungis committed 2015-08-05 10:31:57 +03:00
1 parent 2382aca08b
commit f39d4fb4f2
3 files changed
+5 -33

No files matched your search

+1 -2
View File
@@ -304,8 +304,7 @@ class Service implements \Box\InjectionAwareInterface
$this->_logEmailToDb($email); //Logging to DB
$systemService = $this->di['mod_service']('system');
$settings = $systemService->getEmailSettings();
$settings = $this->di['mod_config']('email');
$transport = $this->di['array_get']($settings, 'mailer', 'sendmail');
if (APPLICATION_ENV == 'testing') {