Skip to content

Commit

Permalink
Merge branch 'MDL-29978' of git://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Oct 31, 2011
2 parents cdf30a1 + 3f123d9 commit a6d832f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ protected function required_column(plugin_information $plugin, plugin_manager $p
if (is_null($otherplugin)) {
$ok = false;
}
if ($requiredversion != ANY_VERSION and $otherplugin->versiondb < $requiredversion) {
if ($requiredversion != ANY_VERSION and $otherplugin->versiondisk < $requiredversion) {
$ok = false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/pluginlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function are_dependencies_satisfied($dependencies) {
return false;
}

if ($requiredversion != ANY_VERSION and $otherplugin->versiondb < $requiredversion) {
if ($requiredversion != ANY_VERSION and $otherplugin->versiondisk < $requiredversion) {
return false;
}
}
Expand Down

0 comments on commit a6d832f

Please sign in to comment.