瀏覽代碼

Remove another obsoleted function.

Thijs Kinkhorst 22 年之前
父節點
當前提交
a18b391e4e
共有 2 個文件被更改,包括 1 次插入22 次删除
  1. 1 0
      ChangeLog
  2. 0 22
      src/move_messages.php

+ 1 - 0
ChangeLog

@@ -22,6 +22,7 @@ Version 1.5.0 -- CVS
   - Fix max attachment filesize off by factor 10 when ini_var set in bytes (#730742).
   - Fix for parsing fetch results. We are now able to extract the UID if it's
     returned after the header.
+  - Remove obsoleted parsing functions.
 
 **************************************
 *** SquirrelMail Stable Series 1.4 ***

+ 0 - 22
src/move_messages.php

@@ -27,28 +27,6 @@ if ( !sqgetGlobalVar('composesession', $composesession, SQ_SESSION) ) {
   $composesession = 0;
 }
 
-/* obsolete ?? */
-function putSelectedMessagesIntoString($msg) {
-    $j = 0;
-    $i = 0;
-    $firstLoop = true;
-    // If they have selected nothing msg is size one still, but will
-    // be an infinite loop because we never increment j. so check to
-    // see if msg[0] is set or not to fix this.
-    while (($j < count($msg)) && ($msg[0])) {
-        if ($msg[$i]) {
-            if ($firstLoop != true) {
-                $selectedMessages .= "&amp;";
-            } else {
-                $firstLoop = false;
-            }
-            $selectedMessages .= "selMsg[$j]=$msg[$i]";
-            $j++;
-        }
-        $i++;
-    }
-}
-
 function attachSelectedMessages($msg, $imapConnection) {
     global $username, $attachment_dir, $startMessage,
            $data_dir, $composesession, $uid_support,