}
// Add description as navigation point
-ADD_DESCR("guest", __FILE__);
+ADD_DESCR('guest', __FILE__);
if (REQUEST_ISSET_GET(('hash'))) {
// Initialize the user ID
}
// If version matches add ref bonus to refid's account
- if ((GET_EXT_VERSION("bonus") >= "0.4.4") && (getConfig('bonus_active') == "Y")) {
+ if ((GET_EXT_VERSION('bonus') >= '0.4.4') && (getConfig('bonus_active') == 'Y')) {
// Add points (directly only!)
SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET bonus_ref=bonus_ref+%s WHERE userid=%s LIMIT 1",
array(getConfig('bonus_ref'), bigintval($rid)), __FILE__, __LINE__);
} // END - if
} // END - if
- if (EXT_IS_ACTIVE("rallye")) {
+ if (EXT_IS_ACTIVE('rallye')) {
// Add user to rallye (or not?)
RALLYE_AUTOADD_USER(bigintval($uid));
} // END - if