From e68208dd74f630691a541c6dba5783ccbe0f0b40 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 4 Aug 2006 07:40:49 +0000 Subject: Bug 347116: Move field-definition code from checksetup.pl into a module Patch By Max Kanat-Alexander (module owner) a=myk --- Bugzilla/Install/DB.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Bugzilla/Install') diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 1e8dcb693..46e9b5c5a 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -23,7 +23,6 @@ use strict; use Bugzilla::Bug qw(is_open_state); use Bugzilla::Constants; -use Bugzilla::Field; use Bugzilla::Util; use Bugzilla::Series; @@ -280,9 +279,6 @@ sub update_table_definitions { _remove_user_series_map(); _copy_old_charts_into_database(); - Bugzilla::Field::create_or_update( - {name => "owner_idle_time", desc => "Time Since Assignee Touched"}); - _add_user_group_map_grant_type(); _add_group_group_map_grant_type(); @@ -1376,9 +1372,7 @@ sub _convert_groups_system_from_groupset { } } # Replace old activity log groupset records with lists of names - # of groups. Start by defining the bug_group field and getting its id. - Bugzilla::Field::create_or_update( - {name => "bug_group", desc => "Group"}); + # of groups. $sth = $dbh->prepare("SELECT id FROM fielddefs WHERE name = " . $dbh->quote('bug_group')); $sth->execute(); -- cgit v1.2.3-24-g4f1b