summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-07-10 18:21:02 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-07-10 18:21:02 +0200
commit741b17a136754d0808de08154ca923459f87e2e3 (patch)
treeca91fc45398d4f7e2ebcdc40e561707a764910eb /Bugzilla/Constants.pm
parentfb10b4ad7063064c4a520d9767324ddcc245f85b (diff)
downloadbugzilla-741b17a136754d0808de08154ca923459f87e2e3.tar.gz
bugzilla-741b17a136754d0808de08154ca923459f87e2e3.tar.xz
Bug 1036225: Return a link to the REST documentation in "method not found" errors
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 ce5a06286..a37638705 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -39,6 +39,7 @@ use Memoize;
@Bugzilla::Constants::EXPORT = qw(
BUGZILLA_VERSION
+ REST_DOC
REMOTE_FILE
LOCAL_FILE
@@ -214,6 +215,10 @@ use Memoize;
# Bugzilla version
use constant BUGZILLA_VERSION => "4.2.9+";
+# 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.