Merge branch 'w20_MDL-33016_m23_hubperf' of git://github.com/skodak/moodle

This commit is contained in:
Aparup Banerjee
2012-05-17 16:57:01 +08:00
+1 -1
View File
@@ -77,7 +77,7 @@
}
/// If the hub plugin is installed then we let it take over the homepage here
if (get_config('local_hub', 'hubenabled') && file_exists($CFG->dirroot.'/local/hub/lib.php')) {
if (file_exists($CFG->dirroot.'/local/hub/lib.php') and get_config('local_hub', 'hubenabled')) {
require_once($CFG->dirroot.'/local/hub/lib.php');
$hub = new local_hub();
$continue = $hub->display_homepage();