Turn off Banner impressions and member exporuser.s
FROM banner_campaign_clicks_summary
WHERE campaign = :campaign_id) AS clicks";
$sql = "
- SELECT bc.*, $impressions, $clicks
+ SELECT bc.*,0 as impressions,0 as clicks
FROM banner_campaigns bc
WHERE id = :campaign_id";
$banner = $this->_decorators[$i]->getBanner();
$campaign = $banner->getCampaign();
- $campaign->incrementImpression($pdo, $catid);
+ //$campaign->incrementImpression($pdo, $catid);
$mailer = $notifier->getMailerForCampaign($campaign->getId());
$mailer->sendNotification(
*/
public function runUpdate()
{
+ if ( $this->_type == 'list' ) {
+ return false;
+ }
// Make sure the member actually exists in the members table
// before we try to manipulate its exposure count. If they don't
// exists, then just get us out of here so we don't throw any errors