Merge branch 'w20_MDL-33016_m23_hubperf' of git://github.com/skodak/moodle
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user