summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-08-04 09:40:49 +0200
committermkanat%bugzilla.org <>2006-08-04 09:40:49 +0200
commite68208dd74f630691a541c6dba5783ccbe0f0b40 (patch)
treec2978bdc53ee5b0b441ee972b58b4953b395e296 /Bugzilla/Install
parent4883aac15d2f621818f18d6b07dc98175eb12695 (diff)
downloadbugzilla-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar.gz
bugzilla-e68208dd74f630691a541c6dba5783ccbe0f0b40.tar.xz
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.pm8
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();