projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4e78c
)
Workaround for missing config entry, but this if-block should be moved into somewhere...
author
Roland Häder
<roland@mxchange.org>
Thu, 24 Jun 2010 21:47:51 +0000
(21:47 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 24 Jun 2010 21:47:51 +0000
(21:47 +0000)
inc/extensions/ext-bonus.php
patch
|
blob
|
history
diff --git
a/inc/extensions/ext-bonus.php
b/inc/extensions/ext-bonus.php
index 6f6c007fe524887603ec19a462d4d32176e425f8..a5cf74ba55c0c90786c9174f66fd559421919fbb 100644
(file)
--- a/
inc/extensions/ext-bonus.php
+++ b/
inc/extensions/ext-bonus.php
@@
-570,7
+570,7
@@
WHERE `last_online` < ".$mark." ORDER BY `userid` ASC");
case 'init': // Do stuff when extension is initialized
// Check for bonus rallye is active and send mails out
- if ((getConfig('bonus_active') == 'Y') && (getConfig('bonus_new_member_notify') == 'Y')) {
+ if ((get
ExtensionVersion('bonus') >= '0.9.1') && (get
Config('bonus_active') == 'Y') && (getConfig('bonus_new_member_notify') == 'Y')) {
// Include file for sending out mails
addIncludeToPool('notify', 'inc/mails/bonus_mails.php');
} // END - if