MDL-49276 config-dist: Removed legacy config options

Both $CFG->logsql and $CFG->dblogerror had no use in moodle core
since ages ago (just the former had one use for nothing). Good time
to get rid of both as they are 100% misleading.
This commit is contained in:
Mike Grant
2015-03-16 23:39:41 +01:00
committed by Eloy Lafuente (stronk7)
parent 4501ee4b16
commit d0c2bc6466
2 changed files with 1 additions and 15 deletions
-5
View File
@@ -683,11 +683,6 @@ if (!defined('NO_UPGRADE_CHECK') and isset($CFG->upgraderunning)) {
}
}
// Turn on SQL logging if required
if (!empty($CFG->logsql)) {
$DB->set_logging(true);
}
// enable circular reference collector in PHP 5.3,
// it helps a lot when using large complex OOP structures such as in amos or gradebook
if (function_exists('gc_enable')) {