diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-19 18:47:30 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-19 18:47:30 +0000 |
commit | 7d8bc65388b3070015dde6c7829f585abdbc02dc (patch) | |
tree | 8795b941840cf15675e1ca620d69f167e99be7f0 /engine/lib/database.php | |
parent | f820b6edcd3b2b22d64aef71b2750253d2bcafcd (diff) | |
download | elgg-7d8bc65388b3070015dde6c7829f585abdbc02dc.tar.gz elgg-7d8bc65388b3070015dde6c7829f585abdbc02dc.tar.bz2 |
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
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 4 |
1 files changed, 1 insertions, 3 deletions
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'); } } } |