mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Add Monolog
This commit is contained in:
parent
518f28a7bf
commit
2e602afd3e
18 changed files with 736 additions and 164 deletions
|
@ -332,8 +332,8 @@ function update_1298()
|
|||
$fail++;
|
||||
} else {
|
||||
DBA::update('profile', [$translateKey => $key], ['id' => $data['id']]);
|
||||
logger::log('Updated contact ' . $data['id'] . " to $translateKey " . $key .
|
||||
' (was: ' . $data[$translateKey] . ')');
|
||||
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']);
|
||||
GContact::updateForUser($data['id']);
|
||||
|
@ -342,7 +342,7 @@ function update_1298()
|
|||
}
|
||||
}
|
||||
|
||||
Logger::log($translateKey . " fix completed. Success: $success. Fail: $fail");
|
||||
Logger::notice($translateKey . " fix completed", ['action' => 'update', 'translateKey' => $translateKey, 'Success' => $success, 'Fail' => $fail ]);
|
||||
}
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue