1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-30 11:30:11 +02:00

refactor: loadCacheValue/saveCacheValue (#4205)

This commit is contained in:
Dag
2024-08-08 17:47:04 +02:00
committed by GitHub
parent 2acd415475
commit f358f1abec
8 changed files with 188 additions and 158 deletions

View File

@@ -118,7 +118,7 @@ The default URI shows the Madara demo page.';
{
$url_cache = 'TitleInfo_' . preg_replace('/[^\w]/', '.', rtrim($url, '/'));
$cache = $this->loadCacheValue($url_cache);
if (isset($cache)) {
if ($cache) {
return $cache;
}