]> git.mxchange.org Git - mailer.git/commitdiff
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 fc66b2470816587d91a7acf5b4953a667316af07..3a6128d566880ee30db424660c8a330bb9479c48 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']