From 2f08283864615990a47ef8b3995ab88402eda478 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 19 Oct 2013 11:04:11 +0000 Subject: feature 2978: remove useless sprintf in the core git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee --- password.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'password.php') diff --git a/password.php b/password.php index f242d48b5..6b0221fac 100644 --- a/password.php +++ b/password.php @@ -84,8 +84,8 @@ function process_password_request() { array_push( $page['errors'], - sprintf( - l10n('User "%s" has no email address, password reset is not possible'), + l10n( + 'User "%s" has no email address, password reset is not possible', $userdata['username'] ) ); @@ -108,8 +108,8 @@ function process_password_request() set_make_full_url(); $message = l10n('Someone requested that the password be reset for the following user account:') . "\r\n\r\n"; - $message.= sprintf( - l10n('Username "%s" on gallery %s'), + $message.= l10n( + 'Username "%s" on gallery %s', $userdata['username'], get_gallery_home_url() ); -- cgit v1.2.3