mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Good news, everyone - again somce notices removed
This commit is contained in:
parent
f9177e827e
commit
821429fdf1
5 changed files with 22 additions and 17 deletions
|
@ -1074,7 +1074,11 @@ class App
|
|||
|
||||
$meminfo = [];
|
||||
foreach ($memdata as $line) {
|
||||
list($key, $val) = explode(':', $line);
|
||||
$data = explode(':', $line);
|
||||
if (count($data) != 2) {
|
||||
continue;
|
||||
}
|
||||
list($key, $val) = $data;
|
||||
$meminfo[$key] = (int) trim(str_replace('kB', '', $val));
|
||||
$meminfo[$key] = (int) ($meminfo[$key] / 1024);
|
||||
}
|
||||
|
|
|
@ -125,6 +125,8 @@ class HTTPSignature
|
|||
$key = $key($sig_block['keyId']);
|
||||
}
|
||||
|
||||
logger('Got keyID ' . $sig_block['keyId']);
|
||||
|
||||
// We don't use Activity Pub at the moment.
|
||||
// if (!$key) {
|
||||
// $result['signer'] = $sig_block['keyId'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue