mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Remove disturbing/superfluous logging messages
This commit is contained in:
parent
1047ad7bc2
commit
80753ed1b6
3 changed files with 3 additions and 13 deletions
|
@ -23,7 +23,6 @@ namespace Friendica\Core\Session\Handler;
|
|||
|
||||
use Friendica\Core\Cache\ICache;
|
||||
use Friendica\Core\Session;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use SessionHandlerInterface;
|
||||
|
||||
/**
|
||||
|
@ -33,16 +32,10 @@ class Cache implements SessionHandlerInterface
|
|||
{
|
||||
/** @var ICache */
|
||||
private $cache;
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
/** @var array The $_SERVER array */
|
||||
private $server;
|
||||
|
||||
public function __construct(ICache $cache, LoggerInterface $logger, array $server)
|
||||
public function __construct(ICache $cache)
|
||||
{
|
||||
$this->cache = $cache;
|
||||
$this->logger = $logger;
|
||||
$this->server = $server;
|
||||
$this->cache = $cache;
|
||||
}
|
||||
|
||||
public function open($save_path, $session_name)
|
||||
|
@ -62,8 +55,6 @@ class Cache implements SessionHandlerInterface
|
|||
return $data;
|
||||
}
|
||||
|
||||
$this->logger->notice('no data for session', ['session_id' => $session_id, 'uri' => $this->server['REQUEST_URI'] ?? '']);
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue