1
0
Fork 0

Update function and sprintf

Update variable to static function and remove sprintf wrappers
This commit is contained in:
Adam Magness 2018-01-23 12:47:30 -05:00
commit f7e9b74dca
3 changed files with 9 additions and 8 deletions

View file

@ -781,7 +781,7 @@ function run_update_function($x)
//send the administrator an e-mail
DBStructure::updateFail(
$x,
sprintf(L10n::t('Update %s failed. See error logs.'), $x)
L10n::t('Update %s failed. See error logs.', $x)
);
return false;
} else {