Update function and sprintf
Update variable to static function and remove sprintf wrappers
This commit is contained in:
parent
7158aa7ded
commit
f7e9b74dca
3 changed files with 9 additions and 8 deletions
2
boot.php
2
boot.php
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue