summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-11-28 17:08:10 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-11-28 17:08:10 +0100
commit6103e15ffa844e64ff95b2bfe78c83dd910fbe0e (patch)
tree87e82640fa98b4dbc87c29dcd7ad318792eb4a61 /Bugzilla/Constants.pm
parent1710b67cdaf36baf843cd3ad292114d312903a42 (diff)
downloadbugzilla-6103e15ffa844e64ff95b2bfe78c83dd910fbe0e.tar.gz
bugzilla-6103e15ffa844e64ff95b2bfe78c83dd910fbe0e.tar.xz
Bug 705393: Improve the error message thrown by Update.pm when updates.bugzilla.org is unavailable
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 9dd8b76fb..b63d222b1 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -40,6 +40,9 @@ use Memoize;
@Bugzilla::Constants::EXPORT = qw(
BUGZILLA_VERSION
+ REMOTE_FILE
+ LOCAL_FILE
+
bz_locations
IS_NULL
@@ -201,6 +204,10 @@ use Memoize;
# Bugzilla version
use constant BUGZILLA_VERSION => "4.3";
+# 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.
+
# These are unique values that are unlikely to match a string or a number,
# to be used in criteria for match() functions and other things. They start
# and end with spaces because most Bugzilla stuff has trim() called on it,