diff options
author | Byron Jones <bjones@mozilla.com> | 2013-12-10 21:30:11 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-12-10 21:30:11 +0100 |
commit | 7d33443002e5da146e506f92600ff456571ac84a (patch) | |
tree | 79b24d20c409ae8ae2b926fe3eac90a9f47a363d /Bugzilla/Constants.pm | |
parent | f21a2d3506d4c4913d0d0a8c1134188a85b76562 (diff) | |
download | bugzilla-7d33443002e5da146e506f92600ff456571ac84a.tar.gz bugzilla-7d33443002e5da146e506f92600ff456571ac84a.tar.xz |
Bug 942725: backport bug 793963 to bmo (add the ability to tag comments with arbitrary tags)
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index b4262f8ab..b7038505a 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -90,6 +90,9 @@ use Memoize; COMMENT_COLS MAX_COMMENT_LENGTH + MIN_COMMENT_TAG_LENGTH + MAX_COMMENT_TAG_LENGTH + CMT_NORMAL CMT_DUPE_OF CMT_HAS_DUPE @@ -311,6 +314,10 @@ use constant COMMENT_COLS => 80; # Used in _check_comment(). Gives the max length allowed for a comment. use constant MAX_COMMENT_LENGTH => 65535; +# The minimum and maximum length of comment tags. +use constant MIN_COMMENT_TAG_LENGTH => 3; +use constant MAX_COMMENT_TAG_LENGTH => 24; + # The type of bug comments. use constant CMT_NORMAL => 0; use constant CMT_DUPE_OF => 1; |