Remove superfluous search wrapper function

The search_accounts_form() wrapper function doesn't have any
arguments and only makes it unclear what is happening within
account.php

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
canyonknight 2013-04-19 19:09:09 -04:00 committed by Lukas Fleischer
parent ca067d5492
commit cf083cf9ba
2 changed files with 1 additions and 11 deletions

View file

@ -88,7 +88,7 @@ if (isset($_COOKIE["AURSID"])) {
# display the search page if they're a TU/dev # display the search page if they're a TU/dev
# #
print __("Use this form to search existing accounts.")."<br />\n"; print __("Use this form to search existing accounts.")."<br />\n";
search_accounts_form(); include('search_accounts_form.php');
} else { } else {
print __("You are not allowed to access this area."); print __("You are not allowed to access this area.");

View file

@ -276,16 +276,6 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
return; return;
} }
/**
* Include the search accounts form
*
* @return void
*/
function search_accounts_form() {
include("search_accounts_form.php");
return;
}
/** /**
* Display the search results page * Display the search results page
* *