From: moodler Date: Tue, 31 Dec 2002 08:50:24 +0000 (+0000) Subject: More tweaks X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a7514c09e6f3b8ee252825a587e9aff6ad616eea;p=moodle.git More tweaks --- 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);