X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=9126488c49c7ef71ec6034d45c70f1a37f49783b;hb=d12c9a8f581a22f2f9d04b73c85dce890fb037a1;hp=d66691b962c355e5245ee24868ba6a1cd8df526d;hpb=8b7cb5d9efeab580c2592e0fbe301f7142b73a3d;p=friendica.git diff --git a/update.php b/update.php index d66691b962..9126488c49 100644 --- a/update.php +++ b/update.php @@ -78,11 +78,11 @@ function update_1298() $a->strings = []; // First we get the the localizations - if (file_exists("view/lang/$lang/strings.php")) { - include "view/lang/$lang/strings.php"; + if (file_exists('view/lang/$lang/strings.php')) { + include 'view/lang/$lang/strings.php'; } - if (file_exists("addon/morechoice/lang/$lang/strings.php")) { - include "addon/morechoice/lang/$lang/strings.php"; + if (file_exists('addon/morechoice/lang/$lang/strings.php')) { + include 'addon/morechoice/lang/$lang/strings.php'; } $localizedStrings = $a->strings; @@ -111,7 +111,7 @@ function update_1298() } } - Logger::notice($translateKey . " fix completed", ['action' => 'update', 'translateKey' => $translateKey, 'Success' => $success, 'Fail' => $fail ]); + Logger::notice($translateKey . ' fix completed', ['action' => 'update', 'translateKey' => $translateKey, 'Success' => $success, 'Fail' => $fail ]); } return Update::SUCCESS; } @@ -148,8 +148,8 @@ function update_1315() function update_1318() { - DBA::update('profile', ['marital' => "In a relation"], ['marital' => "Unavailable"]); - DBA::update('profile', ['marital' => "Single"], ['marital' => "Available"]); + DBA::update('profile', ['marital' => 'In a relation'], ['marital' => 'Unavailable']); + DBA::update('profile', ['marital' => 'Single'], ['marital' => 'Available']); Worker::add(PRIORITY_LOW, 'ProfileUpdate'); return Update::SUCCESS;