mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 01:56:39 +02:00
refactor: move cache logic into the factory (#2884)
This commit is contained in:
@@ -124,7 +124,7 @@ HTML;
|
||||
|
||||
$cacheFac = new CacheFactory();
|
||||
|
||||
$this->clientIDCache = $cacheFac->create(Configuration::getConfig('cache', 'type'));
|
||||
$this->clientIDCache = $cacheFac->create();
|
||||
$this->clientIDCache->setScope(get_called_class());
|
||||
$this->clientIDCache->setKey(['client_id']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user