Commit 781f5674 authored by jcnventura's avatar jcnventura

Current mimemail 6.x-1.x-dev no longer causes problems for the mail function,...

Current mimemail 6.x-1.x-dev no longer causes problems for the mail function, so remove the warnings
parent dfb35930
......@@ -75,27 +75,6 @@ function print_mail_menu() {
return $items;
}
/**
* Implementation of hook_requirements().
*/
function print_mail_requirements($phase) {
$requirements = array();
$t = get_t();
switch ($phase) {
case 'runtime':
if (module_exists('mimemail') && variable_get('mimemail_alter', 0) && (variable_get('mimemail_format', FILTER_FORMAT_DEFAULT) != '3')) {
$requirements['print_mail_mimemail'] = array(
'title' => $t('Send by e-mail'),
'value' => l($t('Mime Mail configuration'), 'admin/settings/mimemail'),
'description' => $t("The current configuration of the Mime Mail module creates problems with the 'Send to Friend' function. Please set Mime Mail's input format to 'PHP code' to avoid them."),
'severity' => REQUIREMENT_WARNING,
);
}
break;
}
return $requirements;
}
/**
* Implementation of hook_block_list().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment