From 4d2c01e3343cc64d90f6bd9974e622e679bca19e Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 7 May 2001 13:57:52 +0000 Subject: [PATCH] * Middle parameter wasn't used. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1335 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 2 +- src/left_main.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index b1d0b752..da84b5e5 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -351,7 +351,7 @@ /****************************************************************************** ** Returns the number of unseen messages in this folder ******************************************************************************/ - function sqimap_unseen_messages ($imap_stream, &$num_unseen, $mailbox) { + function sqimap_unseen_messages ($imap_stream, $mailbox) { //fputs ($imap_stream, "a001 SEARCH UNSEEN NOT DELETED\r\n"); fputs ($imap_stream, "a001 STATUS \"$mailbox\" (UNSEEN)\r\n"); $read_ary = sqimap_read_data ($imap_stream, 'a001', true, $result, $message); diff --git a/src/left_main.php b/src/left_main.php index 96ef4500..e2b6872c 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -32,10 +32,10 @@ $mailboxURL = urlencode($real_box); $unseen = 0; - + if (($unseen_notify == 2 && $real_box == "INBOX") || $unseen_notify == 3) { - $unseen = sqimap_unseen_messages($imapConnection, $numUnseen, $real_box); + $unseen = sqimap_unseen_messages($imapConnection, $real_box); if ($unseen_type == 1 && $unseen > 0) { $unseen_string = "($unseen)"; $unseen_found = true; -- 2.25.1