several small improvements to lots of stuff

This commit is contained in:
JT Smith 2006-04-07 17:15:53 +00:00
parent d272e7de58
commit 7cf2c22a95
12 changed files with 122 additions and 64 deletions

View file

@ -33,6 +33,9 @@ The unique name of an Ad Space.
sub process {
my $session = shift;
my $name = shift;
if ($session->stow->get("cacheFixOverride")) {
return "[AD:".$name."]";
}
my $adSpace = WebGUI::AdSpace->newByName($session, $name);
return undef unless defined $adSpace;
return $adSpace->displayImpression;