"print_r" in logging replaced / obsolete stuff removed
This commit is contained in:
parent
9a47e51115
commit
c947b7f211
19 changed files with 43 additions and 81 deletions
|
@ -379,7 +379,7 @@ function dfrn_poll_post(App $a)
|
|||
// NOTREACHED
|
||||
} else {
|
||||
// Update the writable flag if it changed
|
||||
Logger::log('dfrn_poll: post request feed: ' . print_r($_POST, true), Logger::DATA);
|
||||
Logger::debug('post request feed', ['post' => $_POST]);
|
||||
if ($dfrn_version >= 2.21) {
|
||||
if ($perm === 'rw') {
|
||||
$writable = 1;
|
||||
|
@ -521,7 +521,7 @@ function dfrn_poll_content(App $a)
|
|||
if (strlen($s) && strstr($s, '<?xml')) {
|
||||
$xml = XML::parseString($s);
|
||||
|
||||
Logger::log('dfrn_poll: profile: parsed xml: ' . print_r($xml, true), Logger::DATA);
|
||||
Logger::debug(' profile: parsed', ['xml' => $xml]);
|
||||
|
||||
Logger::log('dfrn_poll: secure profile: challenge: ' . $xml->challenge . ' expecting ' . $hash);
|
||||
Logger::log('dfrn_poll: secure profile: sec: ' . $xml->sec . ' expecting ' . $sec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue