Changeset 309f49f in github
- Timestamp:
- Jun 4, 2010 5:58:37 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- ccf250e
- Parents:
- ffd3e29
- Location:
- program/include
- Files:
-
- 2 edited
-
rcube_imap.php (modified) (1 diff)
-
rcube_imap_generic.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
rffd3e29 r309f49f 477 477 // get message count using SEARCH 478 478 // not very performant but more precise (using UNDELETED) 479 // disable THREADS for this request 480 $threads = $this->threading; 481 $this->threading = false; 482 $index = $this->_search_index($mailbox, $search_str); 483 $this->threading = $threads; 479 $index = $this->conn->search($mailbox, $search_str); 484 480 485 481 $count = is_array($index) ? count($index) : 0; -
program/include/rcube_imap_generic.php
rffd3e29 r309f49f 1585 1585 function search($folder, $criteria, $return_uid=false) 1586 1586 { 1587 $old_sel = $this->selected; 1588 1587 1589 if (!$this->select($folder)) { 1588 1590 return false; 1591 } 1592 1593 // return empty result when folder is empty and we're just after SELECT 1594 if ($old_sel != $folder && !$this->exists) { 1595 return array(); 1589 1596 } 1590 1597
Note: See TracChangeset
for help on using the changeset viewer.
