Commit d8bbed1e authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Remove fatal error, seems to be a duplicate block

parent 09d265e2
......@@ -154,12 +154,6 @@ function check_upgrades($name=null) {
$toupgrade[$pluginkey] = $plugininfo;
}
else if ($config->version > $pluginversion) {
if (isset($config->minupgradefrom) && isset($config->minupgraderelease)
&& $pluginversion < $config->minupgradefrom) {
throw new SanityException("Must upgrade to $config->minupgradefrom "
. " ($config->minupgraderelease) first "
. " (you have $pluginversion ($pluginrelease))");
}
if (isset($config->minupgradefrom) && isset($config->minupgraderelease)
&& $pluginversion < $config->minupgradefrom) {
throw new ConfigSanityException("Must upgrade to $config->minupgradefrom "
......
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