Uncomment vehicle cache retrieval in xlvask_vehicles helper.
This commit is contained in:
@@ -73,7 +73,7 @@ class xlvask_vehicles extends xlvask_helper
|
||||
$xlvask = new xlvask();
|
||||
$xlvask_cache = $xlvask->getCache();
|
||||
if ($xlvask_cache->isVehicleCached($registrationNumber)) {
|
||||
//return $xlvask_cache->getVehicleCache($registrationNumber);
|
||||
return $xlvask_cache->getVehicleCache($registrationNumber);
|
||||
} else if ($onlyCache) {
|
||||
return null; // Return null if onlyCache is true and vehicle is not cached
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user