summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-08-05 21:52:02 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-08-05 21:52:02 -0400
commit9cc5ed7b8c02feed5ecec2d1ec2213f63dc74a40 (patch)
treea60595133c5c4a837e182284fcd7e0154a251639 /modules/system
parent19dc0fc8cdb97729a14a61e6d83568f05c3802c6 (diff)
downloadbrdo-9cc5ed7b8c02feed5ecec2d1ec2213f63dc74a40.tar.gz
brdo-9cc5ed7b8c02feed5ecec2d1ec2213f63dc74a40.tar.bz2
Issue #1586166 by drumm, David_Rothstein: Fixed system_update_7013() and user_update_7002() should not call l().
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 1b037b82b..cf9a5d26c 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1983,7 +1983,7 @@ function system_update_7013() {
$timezone = 'UTC';
}
variable_set('date_default_timezone', $timezone);
- drupal_set_message('The default time zone has been set to <em>' . check_plain($timezone) . '</em>. Check the ' . l('date and time configuration page', 'admin/config/regional/settings') . ' to configure it correctly.', 'warning');
+ drupal_set_message(format_string('The default time zone has been set to %timezone. Check the <a href="@config-url">date and time configuration page</a> to configure it correctly.', array('%timezone' => $timezone, '@config-url' => url('admin/config/regional/settings'))), 'warning');
// Remove temporary override.
variable_del('date_temporary_timezone');
}