Remove test logging

This commit is contained in:
Michael 2022-05-18 20:10:14 +00:00
parent 536ce232a7
commit 5aa798b1dc

View file

@ -118,7 +118,6 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow
$cachekey = 'Notification:' . $Notification->id; $cachekey = 'Notification:' . $Notification->id;
$result = $this->cache->get($cachekey); $result = $this->cache->get($cachekey);
if (!is_null($result)) { if (!is_null($result)) {
$this->logger->debug('Blubb-Cache', ['id' => $Notification->id, 'callstack' => System::callstack(20)]);
return $result; return $result;
} }
@ -320,7 +319,6 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow
'[url=' . $link . ']' . $title . '[/url]', '[url=' . $link . ']' . $title . '[/url]',
'[url=' . $author['url'] . ']' . $author['name'] . '[/url]'); '[url=' . $author['url'] . ']' . $author['name'] . '[/url]');
$message['link'] = $link; $message['link'] = $link;
$this->logger->debug('Blubb-Set', ['id' => $Notification->id, 'callstack' => System::callstack(20)]);
$this->cache->set($cachekey, $message, Duration::HOUR); $this->cache->set($cachekey, $message, Duration::HOUR);
} else { } else {
$this->logger->debug('Unhandled notification', ['notification' => $Notification]); $this->logger->debug('Unhandled notification', ['notification' => $Notification]);