Old ineffective sql_trail superseded by new improved db_trail logging only calls...
[fa-stable.git] / includes / current_user.inc
index c3d162e037e1d440175cfd6f6118f0a6c2b01d46..5d4d5f0e3282b3da3e4235949765154cbb5270f9 100644 (file)
@@ -59,7 +59,7 @@ class current_user
 
        function login($company, $loginname, $password)
        {
-               global $security_areas, $security_groups, $security_headings, $path_to_root, $dflt_lang, $SysPrefs;
+               global $security_areas, $security_groups, $security_headings, $path_to_root, $dflt_lang, $SysPrefs, $src_version, $db_version, $installed_extensions;
 
                $this->set_company($company);
            $this->logged = false;
@@ -132,7 +132,7 @@ class current_user
                    $this->prefs = new user_prefs($myrow);
                    $this->user = @$myrow["id"];
                 $this->email = @$myrow["email"];
-                       update_user_visitdate($this->username);
+                       update_user_visitdate($this->username, $src_version, $db_version, $installed_extensions);
                        $this->logged = true;
                                $this->last_act = time();
                                $this->timeout = session_timeout();