Code

Fixed stats handling
[gosa.git] / gosa-core / html / index.php
index d66a96cc2fa9d63056ef7120c5aad39e324c7eb6..5c9207166009385b446d1fd04f92aed948fdc8af 100644 (file)
@@ -367,6 +367,9 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
             /* Not account expired or password forced change go to main page */
             new log("security","login","",array(),"User \"$username\" logged in successfully") ;
             $plist= new pluglist($config, $ui);
+
+            stats::log('global', 'global', array(),  $action = 'login', $amount = 1, 0);
+
             if(isset($plug) && isset($plist->dirlist[$plug])) {
                 header ("Location: main.php?plug=".$plug."&global_check=1");
             }else{