From 2c4ed3fd34b242ce91e22650446200b4a7e939e7 Mon Sep 17 00:00:00 2001
From: "jake%acutex.net" <>
Date: Thu, 24 May 2001 10:10:47 +0000
Subject: Bug 71552 - Remove oldemailtech from Bugzilla r=
justdave@syndicomm.com
---
editusers.cgi | 57 +++++++++------------------------------------------------
1 file changed, 9 insertions(+), 48 deletions(-)
(limited to 'editusers.cgi')
diff --git a/editusers.cgi b/editusers.cgi
index 3fe7ccb8b..a38f86b3c 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -97,10 +97,10 @@ sub EmitElement ($$)
# Displays the form to edit a user parameters
#
-sub EmitFormElements ($$$$$$$$)
+sub EmitFormElements ($$$$$$)
{
my ($user, $password, $realname, $groupset, $blessgroupset,
- $emailnotification, $disabledtext, $newemailtech) = @_;
+ $disabledtext) = @_;
print "
Login name: | \n";
EmitElement("user", $user);
@@ -119,25 +119,6 @@ sub EmitFormElements ($$$$$$$$)
}
print "\n";
- if (!$newemailtech) {
- print " Email notification: | \n";
- print qq{ | \n";
- print "
\n";
- }
-
print " Disable text: | \n";
print " \n";
@@ -397,7 +378,7 @@ if ($action eq 'add') {
print " |
\n";
- print " E-Mail notification: | \n";
- print " $emailnotification | \n";
- }
-
print "
\n";
print " Group set: | \n";
print " ";
@@ -680,18 +654,17 @@ if ($action eq 'edit') {
CheckUser($user);
# get data of user
- SendSQL("SELECT password, realname, groupset, blessgroupset,
- emailnotification, disabledtext, newemailtech
+ SendSQL("SELECT password, realname, groupset, blessgroupset, disabledtext
FROM profiles
WHERE login_name=" . SqlQuote($user));
- my ($password, $realname, $groupset, $blessgroupset, $emailnotification,
- $disabledtext, $newemailtech) = FetchSQLData();
+ my ($password, $realname, $groupset, $blessgroupset,
+ $disabledtext) = FetchSQLData();
print " |