diff --git a/web/html/account.php b/web/html/account.php index 50d376f7..4af30436 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -88,7 +88,7 @@ if (isset($_COOKIE["AURSID"])) { # display the search page if they're a TU/dev # print __("Use this form to search existing accounts.")."
\n"; - search_accounts_form(); + include('search_accounts_form.php'); } else { print __("You are not allowed to access this area."); diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 28f9f937..1deeac59 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -276,16 +276,6 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="", return; } -/** - * Include the search accounts form - * - * @return void - */ -function search_accounts_form() { - include("search_accounts_form.php"); - return; -} - /** * Display the search results page *