mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
ca067d5492
commit
cf083cf9ba
2 changed files with 1 additions and 11 deletions
|
@ -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.")."<br />\n";
|
||||
search_accounts_form();
|
||||
include('search_accounts_form.php');
|
||||
|
||||
} else {
|
||||
print __("You are not allowed to access this area.");
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue