X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=e619ec89dd9bbb569c3ecb4db27c863c16fdcab2;hb=997b98e345989c53873965b3263acd799b311585;hp=dfda25979791bf20af6e2dea4ac57993e7a2bebd;hpb=fe8f0e00454919e3ee1150a2e75badb55a273c3a;p=friendica.git diff --git a/update.php b/update.php index dfda259797..e619ec89dd 100644 --- a/update.php +++ b/update.php @@ -1,9 +1,9 @@ $key], ['id' => $data['id']]); - BaseObject::getApp() - ->getLogger() - ->notice('Updated contact', ['action' => 'update', 'contact' => $data['id'], "$translateKey" => $key, + Logger::notice('Updated contact', ['action' => 'update', 'contact' => $data['id'], "$translateKey" => $key, 'was' => $data[$translateKey]]); Worker::add(PRIORITY_LOW, 'ProfileUpdate', $data['id']); Contact::updateSelfFromUserID($data['id']); @@ -344,9 +342,7 @@ function update_1298() } } - BaseObject::getApp() - ->getLogger() - ->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; }