From 098567351751aa261375f26eca605cf2a2569f1e Mon Sep 17 00:00:00 2001 From: gpadgham Date: Thu, 15 Jun 2000 15:20:43 +0000 Subject: [PATCH] changed where a variable is registered in the session so heavy hard drive IO doesn't exist when sorting tons of e-mail headers. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@539 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 78fe5453..e52c4f9b 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -111,7 +111,7 @@ ** 2 = Name (up) ** 3 = Name (dn) **/ - + session_unregister("msgs"); if (($sort == 0) || ($sort == 1)) $msort = array_cleave ($msgs, "TIME_STAMP"); if (($sort == 2) || ($sort == 3)) @@ -127,6 +127,7 @@ session_register("msort"); } displayMessageArray($imapConnection, $numMessages, $startMessage, $msgs, $msort, $mailbox, $sort, $color,$show_num); + session_register("msgs"); } // generic function to convert the msgs array into an HTML table -- 2.25.1