From 25b1a1ea11182b6fc195f4cca76ec4788d79c65e Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Thu, 10 May 2012 19:45:00 -0700 Subject: Refs #4487. Turning off system log (even more) during upgrades. Removed debug call to system_log() in create_annotation(). --- upgrade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'upgrade.php') 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()) { -- cgit v1.2.3