Merge branch 'MDL-29978' of git://github.com/stronk7/moodle

This commit is contained in:
Sam Hemelryk
2011-10-31 13:51:07 +13:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -598,7 +598,7 @@ class core_admin_renderer extends plugin_renderer_base {
if (is_null($otherplugin)) {
$ok = false;
}
if ($requiredversion != ANY_VERSION and $otherplugin->versiondb < $requiredversion) {
if ($requiredversion != ANY_VERSION and $otherplugin->versiondisk < $requiredversion) {
$ok = false;
}
+1 -1
View File
@@ -241,7 +241,7 @@ class plugin_manager {
return false;
}
if ($requiredversion != ANY_VERSION and $otherplugin->versiondb < $requiredversion) {
if ($requiredversion != ANY_VERSION and $otherplugin->versiondisk < $requiredversion) {
return false;
}
}