mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 19:44:12 +02:00
refactor: dont create multiple instances of the cache (#3504)
This commit is contained in:
@@ -113,9 +113,7 @@ class ElloBridge extends BridgeAbstract
|
||||
|
||||
private function getAPIKey()
|
||||
{
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$cache = $cacheFactory->create();
|
||||
$cache = RssBridge::getCache();
|
||||
$cache->setScope('ElloBridge');
|
||||
$cache->setKey(['key']);
|
||||
$key = $cache->loadData();
|
||||
|
Reference in New Issue
Block a user