[dev] call 'buildMessage()' or 'rebuildMessage()' for 'imp_contents' in 'message.php' ?

Sebastian Calero scalero at datadec.es
Thu Jun 19 16:06:50 UTC 2008


In the file 'message.php' at line 251 appears the following code:

if (!$imp_contents->buildMessage()) {
    _returnToMailbox(null, 'message_missing');
    require IMP_BASE . '/mailbox.php';
    exit;
}

The function 'buildMessage()' first search the message in cache and if 
find it,
then delete its parts(the jet rendered parts). The message parts are rendered
every time you see a message.

It would be possible to check(in a lightly form) if the message still 
exists in
the server and call 'buildMessage()'? This should be faster, is right?


Greetings and thanks.

Sebastián Calero.



________________________________________________________________
Mensaje enviado desde la Plataforma e-CRM http://www.mypyme.com



More information about the dev mailing list