Delete also qacontact_accessible
parent
624d6551e1
commit
f75658a097
|
@ -46,7 +46,7 @@ Bugzilla::Field - a particular piece of information about bugs
|
|||
{name => 'cf_silly', description => 'Silly', custom => 1});
|
||||
|
||||
# Instantiate a Field object for an existing field.
|
||||
my $field = new Bugzilla::Field({name => 'qacontact_accessible'});
|
||||
my $field = new Bugzilla::Field({name => 'target_milestone'});
|
||||
if ($field->obsolete) {
|
||||
print $field->description . " is obsolete\n";
|
||||
}
|
||||
|
@ -1181,7 +1181,7 @@ sub populate_field_definitions
|
|||
$dbh->do(
|
||||
"DELETE FROM fielddefs WHERE name IN ('cc_accessible', 'requesters.login_name',
|
||||
'attachments.thedata', 'attach_data.thedata', 'content', 'requestees.login_name',
|
||||
'setters.login_name', 'longdescs.isprivate', 'assignee_accessible', 'commenter')"
|
||||
'setters.login_name', 'longdescs.isprivate', 'assignee_accessible', 'qacontact_accessible', 'commenter')"
|
||||
);
|
||||
|
||||
# MODIFY old field definitions
|
||||
|
|
|
@ -110,7 +110,7 @@ else
|
|||
# Есть специальное поле "longdesc", означающее добавление комментариев
|
||||
my $f = [ Bugzilla->get_fields ];
|
||||
@$f = sort { lc $a->description cmp lc $b->description } grep { $_->name !~ /
|
||||
\. | ^owner_idle_time$ | ^cclist_accessible$ | ^creation_ts$ | ^days_elapsed$ | ^qacontact_accessible$ /xs } @$f;
|
||||
\. | ^owner_idle_time$ | ^cclist_accessible$ | ^creation_ts$ | ^days_elapsed$ | ^reporter_accessible$ /xs } @$f;
|
||||
# Ещё есть специальное поле "work_time_date", означающее списание времени задним числом
|
||||
push @$f, { description => 'Backdated worktime', name => 'work_time_date' };
|
||||
$vars->{my_fielddefs} = $f;
|
||||
|
|
Loading…
Reference in New Issue