summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-05 07:24:47 +0200
committerlpsolit%gmail.com <>2006-08-05 07:24:47 +0200
commit38c7d0766195d9d84fcd81bc23b9c71bff5bea6d (patch)
treef3688f465408bcccf98c6bf604b3023011dddd2b /editgroups.cgi
parented12ad1849d654f8fb710d093c7aaf92f35e56ab (diff)
downloadbugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.gz
bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.xz
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-xeditgroups.cgi14
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;
}