diff options
author | mkanat%bugzilla.org <> | 2006-11-13 12:07:57 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-11-13 12:07:57 +0100 |
commit | 49838aefe6590fd9a5474853beb5c7d937029534 (patch) | |
tree | 529998634ff356eb7679a7d7f3da976f94a2cc65 /Bugzilla/Constants.pm | |
parent | a3ae4ab4b3dacb799e7e370c4785a64e9f4596af (diff) | |
download | bugzilla-49838aefe6590fd9a5474853beb5c7d937029534.tar.gz bugzilla-49838aefe6590fd9a5474853beb5c7d937029534.tar.xz |
Bug 360028: Bugzilla::Search::Saved should have create() and update(), and buglist.cgi should use it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 7fb95e8f2..9c2cf77b4 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -128,6 +128,8 @@ use File::Basename; MAX_TOKEN_AGE SAFE_PROTOCOLS + + MAX_LEN_QUERY_NAME ); @Bugzilla::Constants::EXPORT_OK = qw(contenttypes); @@ -350,6 +352,9 @@ use constant ROOT_USER => $^O =~ /MSWin32/i ? 'Administrator' : 'root'; # True if we're on Win32. use constant ON_WINDOWS => ($^O =~ /MSWin32/i); +# The longest that a saved search name can be. +use constant MAX_LEN_QUERY_NAME => 64; + sub bz_locations { # We know that Bugzilla/Constants.pm must be in %INC at this point. # So the only question is, what's the name of the directory |