From 6103e15ffa844e64ff95b2bfe78c83dd910fbe0e Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 28 Nov 2011 17:08:10 +0100 Subject: Bug 705393: Improve the error message thrown by Update.pm when updates.bugzilla.org is unavailable r=glob a=LpSolit --- Bugzilla/Constants.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bugzilla/Constants.pm') 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, -- cgit v1.2.3-24-g4f1b