Changeset 2635 in subversion
- Timestamp:
- Jun 11, 2009 4:40:39 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/mark.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/mark.inc
r2615 r2635 30 30 { 31 31 $flag = $a_flags_map[$flag] ? $a_flags_map[$flag] : strtoupper($flag); 32 33 if ($flag == 'DELETED' && $CONFIG['skip_deleted'] && $_POST['_from'] != 'show') { 34 // count messages before changing anything 35 $old_count = $IMAP->messagecount(); 36 $old_pages = ceil($old_count / $IMAP->page_size); 37 $count = sizeof(explode(',', $uids)); 38 } 39 32 40 $marked = $IMAP->set_flag($uids, $flag); 33 41 … … 60 68 $OUTPUT->command('command', 'list'); 61 69 } else { 62 // count messages before changing anything63 $old_count = $IMAP->messagecount();64 $old_pages = ceil($old_count / $IMAP->page_size);65 66 70 // refresh saved search set after moving some messages 67 71 if (($search_request = get_input_value('_search', RCUBE_INPUT_GPC)) && $IMAP->search_set) {
Note: See TracChangeset
for help on using the changeset viewer.
