aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-10-19 11:04:11 +0000
committermistic100 <mistic@piwigo.org>2013-10-19 11:04:11 +0000
commit2f08283864615990a47ef8b3995ab88402eda478 (patch)
tree6720eff124c37c877910cc25296958ebc1015cb9 /include/ws_functions.inc.php
parent139ffe3712b8c9a9ea4cd731d3fdb509463867dc (diff)
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 53e166873..f5f136279 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -3357,7 +3357,7 @@ function ws_extensions_update($params, $service)
switch ($upgrade_status)
{
case 'ok':
- return sprintf(l10n('%s has been successfully updated.'), $extension_name);
+ return l10n('%s has been successfully updated.', $extension_name);
case 'temp_path_error':
return new PwgError(null, l10n('Can\'t create temporary file.'));
@@ -3369,7 +3369,7 @@ function ws_extensions_update($params, $service)
return new PwgError(null, l10n('Can\'t read or extract archive.'));
default:
- return new PwgError(null, sprintf(l10n('An error occured during extraction (%s).'), $upgrade_status));
+ return new PwgError(null, l10n('An error occured during extraction (%s).', $upgrade_status));
}
}