From 9cc5ed7b8c02feed5ecec2d1ec2213f63dc74a40 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 5 Aug 2013 21:52:02 -0400 Subject: Issue #1586166 by drumm, David_Rothstein: Fixed system_update_7013() and user_update_7002() should not call l(). --- modules/user/user.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user') diff --git a/modules/user/user.install b/modules/user/user.install index cff873a45..4e1a3c22d 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -535,7 +535,7 @@ function user_update_7002(&$sandbox) { if ($sandbox['user_from'] == $sandbox['user_count']) { if ($sandbox['user_not_migrated'] > 0) { variable_set('empty_timezone_message', 1); - drupal_set_message('Some user time zones have been emptied and need to be set to the correct values. Use the new ' . l('time zone options', 'admin/config/regional/settings') . ' to choose whether to remind users at login to set the correct time zone.', 'warning'); + drupal_set_message(format_string('Some user time zones have been emptied and need to be set to the correct values. Use the new time zone options to choose whether to remind users at login to set the correct time zone.', array('@config-url' => url('admin/config/regional/settings'))), 'warning'); } return t('Migrated user time zones'); } -- cgit v1.2.3