From 46655eac7022d24381863a0765e200be933ebe56 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 17 Aug 2019 19:41:59 +0200 Subject: [PATCH] Remove unnecessary parameter --- src/Factory/LockFactory.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Factory/LockFactory.php b/src/Factory/LockFactory.php index fef6708d2..cee01fe1e 100644 --- a/src/Factory/LockFactory.php +++ b/src/Factory/LockFactory.php @@ -7,7 +7,6 @@ use Friendica\Core\Cache\IMemoryCache; use Friendica\Core\Config\Configuration; use Friendica\Core\Lock; use Friendica\Database\Database; -use Friendica\Util\Profiler; use Psr\Log\LoggerInterface; /** @@ -39,17 +38,12 @@ class LockFactory */ private $cacheFactory; - /** - * @var Profiler The optional profiler if the cached should be profiled - */ - private $profiler; - /** * @var LoggerInterface The Friendica 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->config = $config;