mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -322,11 +322,11 @@ function wppost_send(&$a, &$b)
|
|||
|
||||
EOT;
|
||||
|
||||
Logger::log('wppost: data: ' . $xml, Logger::DATA);
|
||||
Logger::debug('wppost: data: ' . $xml);
|
||||
|
||||
if ($wp_blog !== 'test') {
|
||||
$x = DI::httpClient()->post($wp_blog, $xml)->getBody();
|
||||
}
|
||||
Logger::log('posted to wordpress: ' . (($x) ? $x : ''), Logger::DEBUG);
|
||||
Logger::info('posted to wordpress: ' . (($x) ? $x : ''));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue