From a7514c09e6f3b8ee252825a587e9aff6ad616eea Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 31 Dec 2002 08:50:24 +0000 Subject: [PATCH] More tweaks --- auth/imap/lib.php | 2 +- auth/nntp/lib.php | 5 +---- auth/pop3/lib.php | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/auth/imap/lib.php b/auth/imap/lib.php index ab0d9fa5c0..1bf4fd46a7 100644 --- a/auth/imap/lib.php +++ b/auth/imap/lib.php @@ -26,7 +26,7 @@ function auth_user_login ($username, $password) { error_reporting(0); $connection = imap_open($host, $username, $password, OP_HALFOPEN); - error_reporting(7); + error_reporting($CFG->debug); if ($connection) { imap_close($connection); diff --git a/auth/nntp/lib.php b/auth/nntp/lib.php index 6ed1cfeac7..de0a2d597e 100644 --- a/auth/nntp/lib.php +++ b/auth/nntp/lib.php @@ -1,9 +1,6 @@ debug); if ($connection) { imap_close($connection); diff --git a/auth/pop3/lib.php b/auth/pop3/lib.php index 88412f6b98..d6eee07f3b 100644 --- a/auth/pop3/lib.php +++ b/auth/pop3/lib.php @@ -1,9 +1,6 @@ debug); if ($connection) { imap_close($connection); -- 2.39.5