mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-10 05:54:41 +02:00
Improve Factory variable names (#2895)
This commit is contained in:
parent
e3dad86bca
commit
d107f8ed30
18 changed files with 59 additions and 59 deletions
|
@ -56,9 +56,9 @@ function returnServerError($message)
|
|||
*/
|
||||
function logBridgeError($bridgeName, $code)
|
||||
{
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$cache = $cacheFac->create();
|
||||
$cache = $cacheFactory->create();
|
||||
$cache->setScope('error_reporting');
|
||||
$cache->setkey($bridgeName . '_' . $code);
|
||||
$cache->purgeCache(86400); // 24 hours
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue