diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-05-31 23:48:17 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-05-31 23:48:38 +0200 |
commit | 970190150a40d4bd574a1a84ac640ec44318869e (patch) | |
tree | 2b2209df631cbd1361564c68b955ee4a72f59ddb /Bugzilla/Constants.pm | |
parent | 5d6b04229f82bd33883c4dbc18b6050410aeae33 (diff) | |
download | bugzilla-970190150a40d4bd574a1a84ac640ec44318869e.tar.gz bugzilla-970190150a40d4bd574a1a84ac640ec44318869e.tar.xz |
Bug 1365734 - Handle BMO version number in Makefile.PL / MYMETA.json
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 852c9c362..7d5f6fa2e 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -208,7 +208,7 @@ use Memoize; sub BUGZILLA_VERSION { my $bugzilla_version = '4.2'; eval { require Bugzilla } || return $bugzilla_version; - return Bugzilla->params->{bugzilla_version} || $bugzilla_version; + eval { Bugzilla->VERSION } || $bugzilla_version; } # A base link to the current REST Documentation. We place it here |