mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
refactor: dont create multiple instances of the cache (#3504)
This commit is contained in:
parent
b594ad2de3
commit
c1c8304fc0
10 changed files with 34 additions and 42 deletions
|
@ -122,9 +122,7 @@ HTML;
|
|||
return;
|
||||
}
|
||||
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$this->clientIDCache = $cacheFactory->create();
|
||||
$this->clientIDCache = RssBridge::getCache();
|
||||
$this->clientIDCache->setScope('SoundCloudBridge');
|
||||
$this->clientIDCache->setKey(['client_id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue