Removed redundant index on supp_trans.type.
[fa-stable.git] / includes / current_user.inc
index 31f53ae6c411d79d26eb451cbf4024c8f6237c3d..cc75e5e87cbef51969b18c35921f667b09200c7e 100644 (file)
@@ -132,7 +132,7 @@ class current_user
        }
 
        function reset_password($company, $email) {
-               global $path_to_root, $app_title;
+               global $app_title;
 
                $this->set_company($company);
                $this->logged = false;
@@ -154,7 +154,7 @@ class current_user
 
                        return true;
                }
-       return false;
+               return false;
     }
 
        function check_user_access()