From 7d8bc65388b3070015dde6c7829f585abdbc02dc Mon Sep 17 00:00:00 2001 From: nickw Date: Mon, 19 Oct 2009 18:47:30 +0000 Subject: Replacing a direct call to error_log() with new elgg_log(). git-svn-id: http://code.elgg.org/elgg/trunk@3564 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engine/lib/database.php') diff --git a/engine/lib/database.php b/engine/lib/database.php index 96dac3846..bffc2fc86 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -111,9 +111,7 @@ function db_delayedexecution_shutdown_hook() { $query_details['h']($result); } } catch (Exception $e) { // Suppress all errors since these can't be delt with here - if (isset($CONFIG->debug)) { - error_log($e); - } + elgg_log($e, 'WARNING'); } } } -- cgit v1.2.3