non security modules update
This commit is contained in:
@@ -14,7 +14,8 @@ class MaillogMailSystem implements MailSystemInterface {
|
||||
* The formatted $message.
|
||||
*/
|
||||
public function format(array $message) {
|
||||
$default = new DefaultMailSystem();
|
||||
$mailclass = variable_get('maillog_engine', 'DefaultMailSystem');
|
||||
$default = new $mailclass();
|
||||
return $default->format($message);
|
||||
}
|
||||
|
||||
@@ -90,7 +91,8 @@ class MaillogMailSystem implements MailSystemInterface {
|
||||
}
|
||||
|
||||
if (variable_get('maillog_send', TRUE)) {
|
||||
$default = new DefaultMailSystem();
|
||||
$mailclass = variable_get('maillog_engine', 'DefaultMailSystem');
|
||||
$default = new $mailclass();
|
||||
$result = $default->mail($message);
|
||||
}
|
||||
elseif (user_access('administer maillog')) {
|
||||
|
@@ -218,7 +218,7 @@ $handler->override_option('cache', array(
|
||||
));
|
||||
$handler->override_option('title', 'Maillog');
|
||||
$handler->override_option('empty', 'Maillog is currently empty. Send a mail!');
|
||||
$handler->override_option('empty_format', '1');
|
||||
$handler->override_option('empty_format', 'plain_text');
|
||||
$handler->override_option('use_pager', '1');
|
||||
$handler->override_option('style_plugin', 'table');
|
||||
$handler = $view->new_display('page', 'Page', 'page_1');
|
||||
|
Reference in New Issue
Block a user