projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
[mailer.git]
/
inc
/
modules
/
member
/
what-bonus.php
diff --git
a/inc/modules/member/what-bonus.php
b/inc/modules/member/what-bonus.php
index 36bff36b2c4597b2f8c70078480536df74175905..5c9871a969c333a9ccda3f18a087520a6a03561b 100644
(file)
--- a/
inc/modules/member/what-bonus.php
+++ b/
inc/modules/member/what-bonus.php
@@
-52,7
+52,7
@@
if ((!isExtensionActive('bonus')) && (!isAdmin())) {
return;
} // END - if
-if (
getExtensionVersion('bonus') >= '0.6.9'
) {
+if (
isExtensionInstalledAndNewer('bonus', '0.6.9')
) {
// Add more bonus points here
// @TODO Rewrite this to a filter
$USE = '(0';