From 977de764485c48c16c4b34e73ab2f1d08506b0a7 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Tue, 25 Nov 2014 10:29:34 +0000 Subject: Revert "Bug 317021 - improve description of bz_canusewhine* parameters. r=gerv." Old version of patch committed by mistake. This reverts commit 88e4ee5b99ef75a149f8d39bd2b92ccac3e5743b. --- Bugzilla/Install.pm | 6 ++---- Bugzilla/Install/DB.pm | 11 ----------- 2 files changed, 2 insertions(+), 15 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index 8d07eecc3..5a2266e36 100644 --- a/Bugzilla/Install.pm +++ b/Bugzilla/Install.pm @@ -135,13 +135,11 @@ use constant SYSTEM_GROUPS => ( }, { name => 'bz_canusewhineatothers', - description => 'Can configure queries and schedules for periodic' - . ' reports to be run and sent via email to other users and groups', + description => 'Can configure whine reports for other users', }, { name => 'bz_canusewhines', - description => 'Can configure queries and schedules for periodic' - . ' reports to be run and sent via email to themselves', + description => 'User can configure whine reports for self', # inherited_by means that users in the groups listed below are # automatically members of bz_canusewhines. inherited_by => ['editbugs', 'bz_canusewhineatothers'], diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 540845fb2..ab02fe41d 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -730,17 +730,6 @@ sub update_table_definitions { $dbh->bz_add_column('longdescs', 'is_markdown', {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); - $dbh->do('UPDATE groups SET description = ? WHERE name = ? and description = ?', - undef, - "Can configure queries and schedules for periodic reports to be run and sent via email to other users and groups", - "bz_canusewhineatothers", - "Can configure whine reports for other users"); - $dbh->do('UPDATE groups SET description = ? WHERE name = ? and description = ?', - undef, - "Can configure queries and schedules for periodic reports to be run and sent via email to themselves", - "bz_canusewhines", - "User can configure whine reports for self"); - ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ -- cgit v1.2.3-24-g4f1b