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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 59 additions and 59 deletions

View file

@ -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