diff options
author | mkanat%bugzilla.org <> | 2006-08-04 07:40:49 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-04 07:40:49 +0000 |
commit | e68208dd74f630691a541c6dba5783ccbe0f0b40 (patch) | |
tree | c2978bdc53ee5b0b441ee972b58b4953b395e296 /Bugzilla/Install | |
parent | 4883aac15d2f621818f18d6b07dc98175eb12695 (diff) | |
download | bugs-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar bugs-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar.gz bugs-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar.bz2 bugs-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar.xz bugs-e68208dd74f630691a541c6dba5783ccbe0f0b40.zip |
Bug 347116: Move field-definition code from checksetup.pl into a module
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 8 |
1 files changed, 1 insertions, 7 deletions
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(); |