Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
f8f87b3a
Commit
f8f87b3a
authored
Apr 25, 2003
by
bbaetz%acm.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 201018 - editusers.cgi never calls DeriveGroup prior to changing a bug
patch mostly by justdave, bits by me r=bbaetz,justdave,myk a=justdave
parent
76f0aeec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
checksetup.pl
checksetup.pl
+7
-1
editusers.cgi
editusers.cgi
+3
-0
No files found.
checksetup.pl
View file @
f8f87b3a
...
...
@@ -3863,12 +3863,18 @@ if ($sth->rows == 0) {
# Support for quips approval
AddField
(
'quips'
,
'approved'
,
'tinyint(1) NOT NULL DEFAULT 1'
);
# 2002-1
1-XX
Bug 180870 - remove manual shadowdb replication code
# 2002-1
2-20
Bug 180870 - remove manual shadowdb replication code
if
(
TableExists
(
'shadowlog'
))
{
print
"Removing shadowlog table\n"
;
$dbh
->
do
(
"DROP TABLE shadowlog"
);
}
# 2003-04-24 - myk@mozilla.org/bbaetz@acm.org, bug 201018
# Force all cached groups to be updated at login, due to security
# At the next schema change, this should be moved inside that block so that the
# update doesn't happen on every run
$dbh
->
do
(
"UPDATE profiles SET refreshed_when='1900-01-01 00:00:00'"
);
#
# Final checks...
...
...
editusers.cgi
View file @
f8f87b3a
...
...
@@ -785,6 +785,8 @@ if ($action eq 'update') {
"VALUES "
.
"($thisuserid, $::userid, now(), $fieldid, "
.
SqlQuote
(
join
(
", "
,
@grpdel
))
.
", "
.
SqlQuote
(
join
(
", "
,
@grpadd
))
.
")"
);
SendSQL
(
"UPDATE profiles SET refreshed_when='1900-01-01 00:00:00' "
.
"WHERE userid = $thisuserid"
);
}
...
...
@@ -842,6 +844,7 @@ if ($action eq 'update') {
print
"Updated user's name.<BR>\n"
;
}
DeriveGroup
(
$thisuserid
);
PutTrailer
(
$localtrailer
);
exit
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment