Remove not needed temp manager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
c44fd46c8c
commit
20ce9e89c1
|
@ -71,28 +71,15 @@ class Checker {
|
||||||
private $cache;
|
private $cache;
|
||||||
/** @var IAppManager */
|
/** @var IAppManager */
|
||||||
private $appManager;
|
private $appManager;
|
||||||
/** @var ITempManager */
|
|
||||||
private $tempManager;
|
|
||||||
/** @var IMimeTypeDetector */
|
/** @var IMimeTypeDetector */
|
||||||
private $mimeTypeDetector;
|
private $mimeTypeDetector;
|
||||||
|
|
||||||
/**
|
|
||||||
* @param EnvironmentHelper $environmentHelper
|
|
||||||
* @param FileAccessHelper $fileAccessHelper
|
|
||||||
* @param AppLocator $appLocator
|
|
||||||
* @param IConfig $config
|
|
||||||
* @param ICacheFactory $cacheFactory
|
|
||||||
* @param IAppManager $appManager
|
|
||||||
* @param ITempManager $tempManager
|
|
||||||
* @param IMimeTypeDetector $mimeTypeDetector
|
|
||||||
*/
|
|
||||||
public function __construct(EnvironmentHelper $environmentHelper,
|
public function __construct(EnvironmentHelper $environmentHelper,
|
||||||
FileAccessHelper $fileAccessHelper,
|
FileAccessHelper $fileAccessHelper,
|
||||||
AppLocator $appLocator,
|
AppLocator $appLocator,
|
||||||
IConfig $config = null,
|
IConfig $config = null,
|
||||||
ICacheFactory $cacheFactory,
|
ICacheFactory $cacheFactory,
|
||||||
IAppManager $appManager = null,
|
IAppManager $appManager = null,
|
||||||
ITempManager $tempManager,
|
|
||||||
IMimeTypeDetector $mimeTypeDetector) {
|
IMimeTypeDetector $mimeTypeDetector) {
|
||||||
$this->environmentHelper = $environmentHelper;
|
$this->environmentHelper = $environmentHelper;
|
||||||
$this->fileAccessHelper = $fileAccessHelper;
|
$this->fileAccessHelper = $fileAccessHelper;
|
||||||
|
@ -100,7 +87,6 @@ class Checker {
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->cache = $cacheFactory->createDistributed(self::CACHE_KEY);
|
$this->cache = $cacheFactory->createDistributed(self::CACHE_KEY);
|
||||||
$this->appManager = $appManager;
|
$this->appManager = $appManager;
|
||||||
$this->tempManager = $tempManager;
|
|
||||||
$this->mimeTypeDetector = $mimeTypeDetector;
|
$this->mimeTypeDetector = $mimeTypeDetector;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -899,7 +899,6 @@ class Server extends ServerContainer implements IServerContainer {
|
||||||
$config,
|
$config,
|
||||||
$c->getMemCacheFactory(),
|
$c->getMemCacheFactory(),
|
||||||
$appManager,
|
$appManager,
|
||||||
$c->getTempManager(),
|
|
||||||
$c->getMimeTypeDetector()
|
$c->getMimeTypeDetector()
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
@ -77,7 +77,6 @@ class CheckerTest extends TestCase {
|
||||||
$this->config,
|
$this->config,
|
||||||
$this->cacheFactory,
|
$this->cacheFactory,
|
||||||
$this->appManager,
|
$this->appManager,
|
||||||
\OC::$server->getTempManager(),
|
|
||||||
$this->mimeTypeDetector
|
$this->mimeTypeDetector
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue