MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup
This commit is contained in:
@@ -94,7 +94,7 @@ class completion_info {
|
||||
*/
|
||||
public static function is_enabled_for_site() {
|
||||
global $CFG;
|
||||
return $CFG->enablecompletion;
|
||||
return !empty($CFG->enablecompletion);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user