diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 19:45:00 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 19:45:00 -0700 |
commit | 25b1a1ea11182b6fc195f4cca76ec4788d79c65e (patch) | |
tree | 49415bbe641d8e83a78927b47d8756fb2c4fdc3a /upgrade.php | |
parent | f5e638639fe8d443b88fc1a1b786c6b8fbee8fb3 (diff) | |
download | elgg-25b1a1ea11182b6fc195f4cca76ec4788d79c65e.tar.gz elgg-25b1a1ea11182b6fc195f4cca76ec4788d79c65e.tar.bz2 |
Refs #4487. Turning off system log (even more) during upgrades. Removed debug call to system_log() in create_annotation().
Diffstat (limited to 'upgrade.php')
-rw-r--r-- | upgrade.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.php b/upgrade.php index 6f7126326..963523200 100644 --- a/upgrade.php +++ b/upgrade.php @@ -20,7 +20,8 @@ define('UPGRADING', 'upgrading'); require_once(dirname(__FILE__) . "/engine/start.php"); if (get_input('upgrade') == 'upgrade') { - // disable the core system log for upgrades to avoid exceptions when the schema changes. + // disable the system log for upgrades to avoid exceptions when the schema changes. + elgg_unregister_event_handler('log', 'systemlog', 'system_log_default_logger'); elgg_unregister_event_handler('all', 'all', 'system_log_listener'); if (elgg_get_unprocessed_upgrades()) { |