changed where a variable is registered in the session so heavy hard drive IO doesn...
authorgpadgham <gpadgham@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Jun 2000 15:20:43 +0000 (15:20 +0000)
committergpadgham <gpadgham@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Jun 2000 15:20:43 +0000 (15:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@539 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 78fe545..e52c4f9 100644 (file)
           ** 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))
          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