Commit 4f023bda authored by Penny Leach's avatar Penny Leach
Browse files

fixing small logic bug in plugin version to information in upgrader

parent bb9482d2
......@@ -136,11 +136,11 @@ function check_upgrades($name=null) {
$pluginversion = $installed->version;
$pluginrelease = $installed->release;
}
}
require(get_config('docroot') . $pluginpath . '/version.php');
if (isset($config->disablelogin) && !empty($config->disablelogin)) {
$disablelogin = true;
}
require(get_config('docroot') . $pluginpath . '/version.php');
if (isset($config->disablelogin) && !empty($config->disablelogin)) {
$disablelogin = true;
}
if (empty($pluginversion)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment