diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index eaf6a9a83..a8f1ede5d 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -201,6 +201,12 @@ use constant NUMERIC_COLUMNS => qw( remaining_time ); +sub DATE_COLUMNS { + my @fields = Bugzilla->get_fields( + { custom => 1, type => FIELD_TYPE_DATETIME }); + return map { $_->name } @fields; +} + # This is used by add_comment to know what we validate before putting in # the DB. use constant UPDATE_COMMENT_COLUMNS => qw( |