Skip to content

Commit 848e55d

Browse files
committed
Cache locks.
1 parent a0a2b63 commit 848e55d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

service/lib/cache.php

+2
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ public function get($entryName, $default = NULL, $loadIfNeeded = FALSE, $cacheLi
288288
$aCachedData = $this->loadCachedData($entryName, $default, $cacheLifetime);
289289
$result = $aCachedData['data'];
290290
$isExpired = $aCachedData['expired'];
291+
}else{
292+
return $result;
291293
}
292294

293295
if($result && !$isExpired){

0 commit comments

Comments
 (0)