function adserve_cache_validate in Advertisement 5.2
Same name and namespace in other branches
- 6.3 adcache.inc \adserve_cache_validate()
- 6.2 adcache.inc \adserve_cache_validate()
- 7 adcache.inc \adserve_cache_validate()
Validate aids.
File
- ./
adcache.inc, line 261
Code
function adserve_cache_validate($aids, $displayed, $hostid) {
$valid = array();
foreach ($aids as $aid) {
if (!in_array($aid, $displayed)) {
$valid[] = $aid;
}
}
return $valid;
}