[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] CVS: squirrelmail/functions imap_mailbox.php,1.257,1.258
From: Tomas Kuliavas <tokul () users ! sourceforge ! net>
Date: 2005-05-31 17:18:57
Message-ID: E1DdAOH-0003fW-Bg () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/squirrelmail/squirrelmail/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13357
Modified Files:
imap_mailbox.php
Log Message:
remove if(true)
indicate changes in 1.4.5cvs
add define in order to prevent loading errors in http://url/functions/imap_mailbox.php
Index: imap_mailbox.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_mailbox.php,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -w -r1.257 -r1.258
--- imap_mailbox.php 24 Apr 2005 13:46:41 -0000 1.257
+++ imap_mailbox.php 31 May 2005 17:18:54 -0000 1.258
@@ -6,13 +6,16 @@
* Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This impliments all functions that manipulate mailboxes
+ * This implements all functions that manipulate mailboxes
*
* @version $Id$
* @package squirrelmail
* @subpackage imap
*/
+/** @ignore */
+if (! defined('SM_PATH')) define('SM_PATH','../');
+
/** UTF7 support */
require_once(SM_PATH . 'functions/imap_utf7_local.php');
@@ -27,9 +30,11 @@
* should be called is the sqimap_get_status_mbx_tree. In case of subscribe
* / rename / delete / new we have to create methods for adding/changing the
* mailbox in the mbx_tree without the need for a refresh.
+ *
+ * Some code fragments are present in 1.3.0 - 1.4.4.
* @package squirrelmail
* @subpackage imap
- * @since 1.3.0
+ * @since 1.5.0
*/
class mailboxes {
var $mailboxname_full = '', $mailboxname_sub= '', $is_noselect = false, $is_noinferiors = false,
@@ -885,14 +890,15 @@
}
/**
+ * Fills mailbox object
+ *
+ * Some code fragments are present in 1.3.0 - 1.4.4.
* @param stream $imap_stream imap connection resource
* @return object see mailboxes class.
- * @since 1.3.0
+ * @since 1.5.0
*/
function sqimap_mailbox_tree($imap_stream) {
- global $default_folder_prefix;
- if (true) {
- global $data_dir, $username, $list_special_folders_first,
+ global $default_folder_prefix, $data_dir, $username, $list_special_folders_first,
$folder_prefix, $delimiter, $trash_folder, $move_to_trash,
$imap_server_type, $show_only_subscribed_folders;
@@ -994,7 +1000,6 @@
$boxestree = sqimap_fill_mailbox_tree($sorted_lsub_ary,false,$imap_stream);
return $boxestree;
}
-}
/**
* Callback function used for sorting mailboxes in sqimap_mailbox_tree
@@ -1008,11 +1013,14 @@
}
/**
+ * Fills mailbox object
+ *
+ * Some code fragments are present in 1.3.0 - 1.4.4.
* @param array $mbx_ary
* @param $mbxs
- * @param stream $imap_stream (since 1.5.0) imap connection resource
+ * @param stream $imap_stream imap connection resource
* @return object see mailboxes class
- * @since 1.3.0
+ * @since 1.5.0
*/
function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream) {
global $data_dir, $username, $list_special_folders_first,
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic