mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup
This commit is contained in:
parent
51176ec09c
commit
1caea91efb
15 changed files with 280 additions and 361 deletions
|
@ -94,7 +94,7 @@ class completion_info {
|
|||
*/
|
||||
public static function is_enabled_for_site() {
|
||||
global $CFG;
|
||||
return $CFG->enablecompletion;
|
||||
return !empty($CFG->enablecompletion);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue