Merge pull request #5719 from annando/notices-yeah

Good news, everyone - again somce notices removed
This commit is contained in:
Hypolite Petovan
2018-09-04 19:09:11 -04:00
committed by GitHub
5 changed files with 24 additions and 19 deletions
+5 -1
View File
@@ -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);
}
+2
View File
@@ -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'];