diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-04-26 18:59:52 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-05-10 15:59:10 +0200 |
commit | af3c716b7dbe9e44719766593f6c51cf30a054e7 (patch) | |
tree | 08cacbfed0fd57fba9868fa11379df65e404b290 /Bugzilla/Constants.pm | |
parent | 516ac2aed77eb1a6f8f06320ecf502a4dd6a44ed (diff) | |
download | bugzilla-af3c716b7dbe9e44719766593f6c51cf30a054e7.tar.gz bugzilla-af3c716b7dbe9e44719766593f6c51cf30a054e7.tar.xz |
Bug 1251100 - checksetup.pl no longer tells admins which modules are installed and which version is installed
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 80bf255df..208f560aa 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -26,6 +26,8 @@ use Memoize; bz_locations + CAN_HAS_FEATURE + CONCATENATE_ASSETS IS_NULL @@ -218,6 +220,17 @@ use constant REST_DOC => 'https://bugzilla.readthedocs.org/en/latest/api/'; use constant REMOTE_FILE => 'http://updates.bugzilla.org/bugzilla-update.xml'; use constant LOCAL_FILE => 'bugzilla-update.xml'; # Relative to datadir. +use constant CAN_HAS_FEATURE => eval { + require CPAN::Meta::Prereqs; + require CPAN::Meta::Requirements; + require Module::Metadata; + require Module::Runtime; + CPAN::Meta::Prereqs->VERSION('2.132830'); + CPAN::Meta::Requirements->VERSION('2.121'); + Module::Metadata->VERSION('1.000019'); + 1; +}; + # When true CSS and JavaScript assets will be concatanted and minified at # run-time, to reduce the number of requests required to render a page. # Setting this to a false value can help debugging. |