Skip to content

Commit

Permalink
Merge branch 'MDL-49587' of git://github.com/mike-grant/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao authored and stronk7 committed Apr 2, 2015
2 parents 72457d7 + 0b468c5 commit ee366cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/classes/component.php
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ public static function get_all_versions_hash() {
$plugin = new stdClass();
$plugin->version = null;
$module = $plugin;
@include($fullplug.'/version.php');
include($fullplug.'/version.php');
$versions[$type.'_'.$plug] = $plugin->version;
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/plugin_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ protected function load_present_plugins() {
$plugin = new stdClass();
$plugin->version = null;
$module = $plugin;
@include($fullplug.'/version.php');
include($fullplug.'/version.php');
$this->presentplugins[$type][$plug] = $plugin;
}
}
Expand Down

0 comments on commit ee366cf

Please sign in to comment.