Changeset 8085 for branches


Ignore:
Timestamp:
04/09/13 18:23:19 (6 years ago)
Author:
douglas
Message:

Ticket #3420 - Impossibilidade de remover mensagens em grande quantidade

Location:
branches/2.5/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/expressoMail1_2/inc/class.imap_functions.inc.php

    r8080 r8085  
    45354535                    { 
    45364536                        $folder = str_replace($serverString, "", imap_utf7_decode($val->name)); 
    4537                         //$folder = str_replace("&-", "&", $folder); 
    4538                                         $folder = imap_utf7_encode($folder); 
    4539                         imap_setacl ($mbox_stream, $folder, "$user", $value['acls']); 
    4540  
     4537                        //$folder = str_replace("&-", "&", $folder);                      
     4538                        $trashFolder = explode($this->imap_delimiter,$folder);  
     4539                        $acls = ($trashFolder[count($trashFolder) - 1] == "Trash") ? $value['acls']."i" : $value['acls'];  
     4540                        $folder = imap_utf7_encode($folder);                      
     4541                        imap_setacl ($mbox_stream, $folder, "$user", $acls);  
    45414542                    } 
    45424543                } 
  • branches/2.5/expressoMail1_2/js/main.js

    r8079 r8085  
    10091009                                        var arrayFolder = folder.split(cyrus_delimiter);  
    10101010                                        userTrashFolder = 'user'+cyrus_delimiter+arrayFolder[1]+cyrus_delimiter+special_folders['Trash']; 
    1011                                         //var has_folder = Folder.get( userTrashFolder, false );  
     1011                                        var has_folder = false;//Folder.get( userTrashFolder, false );  
    10121012                                        var folders = DataLayer.get("folder");  
    10131013                                        $.each(folders,function(index,value){  
Note: See TracChangeset for help on using the changeset viewer.