mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 05:24:08 +02:00
refactor: dont create multiple instances of the cache (#3504)
This commit is contained in:
@@ -98,9 +98,7 @@ class InstagramBridge extends BridgeAbstract
|
||||
return $username;
|
||||
}
|
||||
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$cache = $cacheFactory->create();
|
||||
$cache = RssBridge::getCache();
|
||||
$cache->setScope('InstagramBridge');
|
||||
$cache->setKey([$username]);
|
||||
$key = $cache->loadData();
|
||||
|
Reference in New Issue
Block a user