summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-05-24 12:10:47 +0200
committerjake%acutex.net <>2001-05-24 12:10:47 +0200
commit2c4ed3fd34b242ce91e22650446200b4a7e939e7 (patch)
tree502442bc8353c8dce7db9b3bc259ebea58fe71f5 /globals.pl
parentc04fc5ccd7740cef2e5455f7aec103a0b91ca62e (diff)
downloadbugzilla-2c4ed3fd34b242ce91e22650446200b4a7e939e7.tar.gz
bugzilla-2c4ed3fd34b242ce91e22650446200b4a7e939e7.tar.xz
Bug 71552 - Remove oldemailtech from Bugzilla
r= justdave@syndicomm.com
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index 34b84c582..4b68d717b 100644
--- a/globals.pl
+++ b/globals.pl
@@ -585,7 +585,6 @@ sub InsertNewUser {
for (my $i=0 ; $i<8 ; $i++) {
$password .= substr("abcdefghijklmnopqrstuvwxyz", int(rand(26)), 1);
}
- my $usenewemailtech = Param('newemailtech') & Param('newemailtechdefault');
PushGlobalSQLState();
SendSQL("select bit, userregexp from groups where userregexp != ''");
@@ -605,7 +604,7 @@ sub InsertNewUser {
$username = SqlQuote($username);
$realname = SqlQuote($realname);
- SendSQL("insert into profiles (login_name, realname, password, cryptpassword, groupset, newemailtech) values ($username, $realname, '$password', encrypt('$password'), $groupset, $usenewemailtech)");
+ SendSQL("insert into profiles (login_name, realname, password, cryptpassword, groupset) values ($username, $realname, '$password', encrypt('$password'), $groupset)");
PopGlobalSQLState();
return $password;
}