summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-07-10 18:18:01 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-07-10 18:18:01 +0200
commit551eb6d2f6ed6da115b3ab51a966628ac445e29f (patch)
tree1380688663ddc8eded059ed6a4b9879087f035d4 /Bugzilla/Constants.pm
parent8dbd57d5cb91bdc1ab6f13018c2ca1163dddef82 (diff)
downloadbugzilla-551eb6d2f6ed6da115b3ab51a966628ac445e29f.tar.gz
bugzilla-551eb6d2f6ed6da115b3ab51a966628ac445e29f.tar.xz
Bug 1036225: Return a link to the REST documentation in "method not found" errors
r=glob,a=glob
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 74062df63..d22eed063 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -18,6 +18,7 @@ use Memoize;
@Bugzilla::Constants::EXPORT = qw(
BUGZILLA_VERSION
+ REST_DOC
REMOTE_FILE
LOCAL_FILE
@@ -198,6 +199,10 @@ use Memoize;
# Bugzilla version
use constant BUGZILLA_VERSION => "4.5.4+";
+# A base link to the current REST Documentation. We place it here
+# as it will need to be updated to whatever the current release is.
+use constant REST_DOC => "http://www.bugzilla.org/docs/tip/en/html/api/";
+
# Location of the remote and local XML files to track new releases.
use constant REMOTE_FILE => 'http://updates.bugzilla.org/bugzilla-update.xml';
use constant LOCAL_FILE => 'bugzilla-update.xml'; # Relative to datadir.