mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 20:08:49 +00:00
"log" is replaced with the corresponding logging functions
This commit is contained in:
parent
fd078ee0e2
commit
0bf6612ea3
31 changed files with 72 additions and 72 deletions
|
@ -470,11 +470,11 @@ function tumblr_send(App $a, array &$b) {
|
|||
|
||||
//print_r($params);
|
||||
if ($ret_code == 201) {
|
||||
Logger::log('tumblr_send: success');
|
||||
Logger::notice('tumblr_send: success');
|
||||
} elseif ($ret_code == 403) {
|
||||
Logger::log('tumblr_send: authentication failure');
|
||||
Logger::notice('tumblr_send: authentication failure');
|
||||
} else {
|
||||
Logger::log('tumblr_send: general error: ' . print_r($x,true));
|
||||
Logger::notice('tumblr_send: general error', ['error' => $x]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue