1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-04 23:57:29 +02:00

Improve Factory variable names (#2895)

This commit is contained in:
Jan Tojnar
2022-07-06 12:14:04 +02:00
committed by GitHub
parent e3dad86bca
commit d107f8ed30
18 changed files with 59 additions and 59 deletions

View File

@@ -317,9 +317,9 @@ function getSimpleHTMLDOMCached(
Debug::log('Caching url ' . $url . ', duration ' . $duration);
// Initialize cache
$cacheFac = new CacheFactory();
$cacheFactory = new CacheFactory();
$cache = $cacheFac->create();
$cache = $cacheFactory->create();
$cache->setScope('pages');
$cache->purgeCache(86400); // 24 hours (forced)