1
0
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:
Dag
2022-06-22 18:29:28 +02:00
committed by GitHub
parent b7b9378484
commit 07927008eb
10 changed files with 49 additions and 130 deletions

View File

@@ -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');