diff options
author | lpsolit%gmail.com <> | 2006-08-05 05:24:47 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-05 05:24:47 +0000 |
commit | 38c7d0766195d9d84fcd81bc23b9c71bff5bea6d (patch) | |
tree | f3688f465408bcccf98c6bf604b3023011dddd2b /editgroups.cgi | |
parent | Additional fix for bug 347360: No value returned when calling $flag_type->fla... (diff) | |
download | bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.gz bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.bz2 bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.zip |
Bug 305941: Remove profiles.refreshed_when and groups.last_changed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index a7a608694..a26bd0c77 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -289,9 +289,8 @@ if ($action eq 'new') { # Add the new group $dbh->do('INSERT INTO groups - (name, description, isbuggroup, - userregexp, isactive, last_changed) - VALUES (?, ?, 1, ?, ?, NOW())', + (name, description, isbuggroup, userregexp, isactive) + VALUES (?, ?, 1, ?, ?)', undef, ($name, $desc, $regexp, $isactive)); my $gid = $dbh->bz_last_key('groups', 'id'); @@ -566,9 +565,6 @@ if (($action eq 'remove_all_regexp') || ($action eq 'remove_all')) { push(@users, $user); } } - - $dbh->do('UPDATE groups SET last_changed = NOW() - WHERE id = ?', undef, $gid); $dbh->bz_unlock_tables(); $vars->{'users'} = \@users; @@ -711,12 +707,6 @@ sub doGroupChanges { } } - - if ($chgs) { - # mark the changes - $dbh->do('UPDATE groups SET last_changed = NOW() - WHERE id = ?', undef, $gid); - } $dbh->bz_unlock_tables(); return $gid, $chgs, $name, $regexp; } |