}
}
+///////////////////////////////////////////////////////////////////////////////
+// Wrapper functions //
+///////////////////////////////////////////////////////////////////////////////
+
// Determines wether the "bonus rallye" is active
function isBonusRallyeActive () {
// Do we have cache?
return $GLOBALS['bonus_rallye_active'];
}
+// Determines wether the "bonus new_member_notify" is active
+function isBonusNewMemberNotifyEnabled () {
+ // Do we have cache?
+ if (!isset($GLOBALS['bonus_new_member_notify_active'])) {
+ // Just determine it
+ $GLOBALS['bonus_new_member_notify_active'] = (getConfig('bonus_new_member_notify') == 'Y');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['bonus_new_member_notify_active'];
+}
+
// [EOF]
?>