Changeset 3929
- Timestamp:
- 03/30/11 14:05:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3923 r3929 116 116 $return['offsetToGMT'] = $this->functions->CalculateDateOffset(); 117 117 118 if(!$search_box_type || $search_box_type=="UNSEEN" || $search_box_type=="SEEN") { 118 //Condição comentada devido a um problema na função imap_status que não retorna valores exatos para pastas 119 //acentuadas e tambem pela não necessidade de se tratar mensagens lidas ou não lidas das demais, em relação 120 //a contagem de mensagens não lidas e do total de mensagens 121 /* 122 if(!$search_box_type || $search_box_type=="UNSEEN" || $search_box_type=="SEEN") { 119 123 $msgs_info = imap_status($this->mbox,"{".$this->imap_server.":".$this->imap_port.$this->imap_options."}".$folder,SA_ALL); 120 124 … … 141 145 } 142 146 else { 147 * */ 143 148 $num_msgs = imap_num_msg($this->mbox); 144 149 $sort_array_msg = $this-> get_msgs($folder, $sort_box_type, $search_box_type, $sort_box_reverse,$msg_range_begin,$num_msgs); … … 166 171 $return['num_msgs'] = count($sort_array_msg)+($msg_range_begin-1); 167 172 168 }173 //} 169 174 return $return; 170 175 }
Note: See TracChangeset
for help on using the changeset viewer.