MantisBT: master 3e33923c

Author Committer Branch Timestamp Parent
dregad dregad master 2017-01-15 05:29 master d987488b
Changeset

Use MantisCore plugin version for dependency check

Until now, the maximum dependency check for Mantis core version in
plugin_dependency() function relied on MANTIS_VERSION constant.

While the the MantisCorePlugin::version property has by definition the
same value as the constant, using the latter prevents simulating use of
the API with a different Mantis version, which is required for unit
tests.

mod - core/plugin_api.php Diff File