From: Steve Sutton Date: Wed, 5 Apr 2017 17:49:49 +0000 (-0400) Subject: turn off impressions for members X-Git-Tag: v1.5.8^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=15c0efcc159a83980fac1423e46bb88bee88047b;p=web%2FKeweenaw.git turn off impressions for members return true if type is list --- diff --git a/Toolkit/Members/Exposure.php b/Toolkit/Members/Exposure.php index 6dca33e..fa45aaa 100755 --- a/Toolkit/Members/Exposure.php +++ b/Toolkit/Members/Exposure.php @@ -189,6 +189,9 @@ class Toolkit_Members_Exposure implements SplObserver */ public function runUpdate() { + if ( $this->_type == 'list' ) { + return true; + } // 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