Remove unnecessary parameter
This commit is contained in:
parent
1237ac1062
commit
46655eac70
|
@ -7,7 +7,6 @@ use Friendica\Core\Cache\IMemoryCache;
|
||||||
use Friendica\Core\Config\Configuration;
|
use Friendica\Core\Config\Configuration;
|
||||||
use Friendica\Core\Lock;
|
use Friendica\Core\Lock;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Util\Profiler;
|
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,17 +38,12 @@ class LockFactory
|
||||||
*/
|
*/
|
||||||
private $cacheFactory;
|
private $cacheFactory;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var Profiler The optional profiler if the cached should be profiled
|
|
||||||
*/
|
|
||||||
private $profiler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var LoggerInterface The Friendica Logger
|
* @var LoggerInterface The Friendica Logger
|
||||||
*/
|
*/
|
||||||
private $logger;
|
private $logger;
|
||||||
|
|
||||||
public function __construct(CacheFactory $cacheFactory, Configuration $config, Database $dba, Profiler $profiler, LoggerInterface $logger)
|
public function __construct(CacheFactory $cacheFactory, Configuration $config, Database $dba, LoggerInterface $logger)
|
||||||
{
|
{
|
||||||
$this->cacheFactory = $cacheFactory;
|
$this->cacheFactory = $cacheFactory;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
|
Loading…
Reference in a new issue