// This function must be run *BEFORE* a link is removed from table 'mxchange_user_links' !
function BONUS_ADD_TURBO_POINTS ($mid, $uid, $type) {
// Shall we add bonus points?
- if (getConfig('bonus_active') != "Y") return false;
+ if (getConfig('bonus_active') != 'Y') return false;
// Init variables
$sql = ''; $bonys = 0; $mail = 0; $column = '';
//
function BONUS_POINTS_HANDLER ($MODE) {
// Shall we add bonus points?
- if (getConfig('bonus_active') != "Y") return;
+ if (getConfig('bonus_active') != 'Y') return;
// Switch to jackpot-mode when no UID is supplied but userid-mode is selected
if ((getConfig('bonus_mode') == "UID") && (getConfig('bonus_uid') == "0")) {