mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 04:34:27 +02:00
Logger Levels
update logger levels in calls
This commit is contained in:
parent
91ef9f238c
commit
50da89d861
86 changed files with 673 additions and 673 deletions
|
@ -98,7 +98,7 @@ class HTTPSignature
|
|||
|
||||
$x = Crypto::rsaVerify($signed_data, $sig_block['signature'], $key, $algorithm);
|
||||
|
||||
Logger::log('verified: ' . $x, LOGGER_DEBUG);
|
||||
Logger::log('verified: ' . $x, Logger::DEBUG);
|
||||
|
||||
if (!$x) {
|
||||
return $result;
|
||||
|
@ -433,12 +433,12 @@ class HTTPSignature
|
|||
|
||||
$profile = APContact::getByURL($url);
|
||||
if (!empty($profile)) {
|
||||
Logger::log('Taking key from id ' . $id, LOGGER_DEBUG);
|
||||
Logger::log('Taking key from id ' . $id, Logger::DEBUG);
|
||||
return ['url' => $url, 'pubkey' => $profile['pubkey']];
|
||||
} elseif ($url != $actor) {
|
||||
$profile = APContact::getByURL($actor);
|
||||
if (!empty($profile)) {
|
||||
Logger::log('Taking key from actor ' . $actor, LOGGER_DEBUG);
|
||||
Logger::log('Taking key from actor ' . $actor, Logger::DEBUG);
|
||||
return ['url' => $actor, 'pubkey' => $profile['pubkey']];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue