mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
refactor: CacheFactory (#2834)
This commit is contained in:
@@ -52,7 +52,6 @@ function returnServerError($message){
|
||||
*/
|
||||
function logBridgeError($bridgeName, $code) {
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFac->setWorkingDir(PATH_LIB_CACHES);
|
||||
|
||||
$cache = $cacheFac->create(Configuration::getConfig('cache', 'type'));
|
||||
$cache->setScope('error_reporting');
|
||||
|
Reference in New Issue
Block a user