mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 13:34:11 +02:00
refactor: CacheFactory (#2834)
This commit is contained in:
@@ -88,7 +88,7 @@ class SpotifyBridge extends BridgeAbstract {
|
||||
|
||||
private function getToken() {
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFac->setWorkingDir(PATH_LIB_CACHES);
|
||||
|
||||
$cache = $cacheFac->create(Configuration::getConfig('cache', 'type'));
|
||||
$cache->setScope(get_called_class());
|
||||
$cache->setKey(array('token'));
|
||||
|
Reference in New Issue
Block a user