projects
/
web
/
Keweenaw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359c51d
)
turn off impressions for members
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 5 Apr 2017 17:49:49 +0000
(13:49 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 5 Apr 2017 17:49:49 +0000
(13:49 -0400)
return true if type is list
Toolkit/Members/Exposure.php
patch
|
blob
|
history
diff --git
a/Toolkit/Members/Exposure.php
b/Toolkit/Members/Exposure.php
index
6dca33e
..
fa45aaa
100755
(executable)
--- 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