MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup

This commit is contained in:
skodak 2009-01-11 09:41:48 +00:00
parent 51176ec09c
commit 1caea91efb
15 changed files with 280 additions and 361 deletions

View file

@ -94,7 +94,7 @@ class completion_info {
*/
public static function is_enabled_for_site() {
global $CFG;
return $CFG->enablecompletion;
return !empty($CFG->enablecompletion);
}
/**