MantisBT: master-1.2.x dae99d0f

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2014-01-18 04:47 master-1.2.x 2d9acc8d
Affected Issues  0016706: Plugin pages can be accessed directly when schema upgrade is needed
Changeset

Prevent plugin pages access when upgrade pending

If a plugin's code has been upgraded, but the schema is still on the old
version, the plugin is effectively disabled (i.e. its entry points are
not displayed). However, it was still possible to access individual
pages directly, which could lead to errors.

This commit adds an extra check in plugin.php which triggers an error
when the plugin needs to be upgraded.

Fixes 0016706

mod - plugin.php Diff File
mod - lang/strings_english.txt Diff File
mod - core/constant_inc.php Diff File