]> git.mxchange.org Git - friendica.git/commitdiff
Remove unnecessary parameter
authorPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:41:59 +0000 (19:41 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:41:59 +0000 (19:41 +0200)
src/Factory/LockFactory.php

index fef6708d21aad174c415311cd421cccc59bb8e0e..cee01fe1e9d2647aef5fb9b8b440b0621ae4e3b6 100644 (file)
@@ -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;