diff options
author | lpsolit%gmail.com <> | 2008-07-31 04:47:25 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-07-31 04:47:25 +0200 |
commit | 7f0ba708827dec5bb77222405009f1771e43655a (patch) | |
tree | 4b40eddbdcd172d211514d25dc9b2adcf78e9caf /Bugzilla/Constants.pm | |
parent | 4fc0f4b92290a7fbf9b4340e9dd37c2626f524ea (diff) | |
download | bugzilla-7f0ba708827dec5bb77222405009f1771e43655a.tar.gz bugzilla-7f0ba708827dec5bb77222405009f1771e43655a.tar.xz |
Bug 313122: Implement Product->create, $product->update and $product->remove_from_db, and make editproducts.cgi use them - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index d8ddfcf66..b0dd0b6f6 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -146,6 +146,7 @@ use File::Basename; MAX_SMALLINT MAX_LEN_QUERY_NAME + MAX_PRODUCT_SIZE MAX_MILESTONE_SIZE MAX_COMPONENT_SIZE MAX_FREETEXT_LENGTH @@ -413,6 +414,9 @@ use constant MAX_SMALLINT => 32767; # The longest that a saved search name can be. use constant MAX_LEN_QUERY_NAME => 64; +# The longest product name allowed. +use constant MAX_PRODUCT_SIZE => 64; + # The longest milestone name allowed. use constant MAX_MILESTONE_SIZE => 20; |