Debug code reverted
authorRoland Häder <roland@mxchange.org>
Wed, 3 Dec 2008 15:13:16 +0000 (15:13 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 3 Dec 2008 15:13:16 +0000 (15:13 +0000)
inc/modules/guest/what-login.php

index fc66b24..3a6128d 100644 (file)
@@ -133,8 +133,7 @@ if (IS_MEMBER()) {
                        // Probe for last online timemark
                        $probe = time() -  $online;
                        if (!empty($login)) $probe = time() - $login;
-                       //if ((GET_EXT_VERSION("bonus") >= "0.2.2") && ($probe >= $_CONFIG['login_timeout'])) {
-                       if (true) {
+                       if ((GET_EXT_VERSION("bonus") >= "0.2.2") && ($probe >= $_CONFIG['login_timeout'])) {
                                // Add login bonus to user's account
                                $ADD = sprintf(", login_bonus=login_bonus+%s",
                                        (float)$_CONFIG['login_bonus']