function theme_update_detailed_email in Update Status Detailed Email 7
Same name and namespace in other branches
- 6 update_detailed_email.module \theme_update_detailed_email()
Theme function to override the original update theme function.
If on the updates page, use the original function.
Parameters
array $variables: An array of update information for installed modules.
Return value
string Return either the orignal theme rendering of the data or the new one.
1 string reference to 'theme_update_detailed_email'
File
- ./
update_detailed_email.module, line 134 - Adds detail to the email message Drupal core's Update Status sends.
Code
function theme_update_detailed_email($variables) {
if (current_path() != 'admin/reports/updates') {
return theme('update_detailed_email_message', $variables);
}
else {
return theme_update_report($variables);
}
}