From d3cad5d2cab108a06b043137a42d18c083975e5a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 2 Aug 2008 13:28:12 -0400 Subject: [PATCH] relocate --- IkiWiki/CGI.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 97ca6714f..cf72bfdb9 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -226,12 +226,11 @@ sub cgi_prefs ($$) { #{{{ $form->field(name => "sid", type => "hidden", value => $session->id, force => 1); $form->field(name => "email", size => 50, fieldset => "preferences"); - $form->field(name => "banned_users", size => 50, - fieldset => "admin"); my $user_name=$session->param("name"); # XXX deprecated, should be removed eventually + $form->field(name => "banned_users", size => 50, fieldset => "admin"); if (! is_admin($user_name)) { $form->field(name => "banned_users", type => "hidden"); } -- 2.26.2