Commit cf40686a authored by Dries's avatar Dries
Browse files

Issue #1785966 by Gábor Hojtsy: missing in update_mail().

parent 18bd0591
......@@ -511,6 +511,7 @@ function _update_get_cached_available_releases() {
*/
function update_mail($key, &$message, $params) {
$langcode = $message['langcode'];
$language = language_load($langcode);
$message['subject'] .= t('New release(s) available for !site_name', array('!site_name' => config('system.site')->get('name')), array('langcode' => $langcode));
foreach ($params as $msg_type => $msg_reason) {
$message['body'][] = _update_message_text($msg_type, $msg_reason, FALSE, $langcode);
......
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