823a824,831 > //brudan: > //syncnuti cache nas nic nestoji - lepsi nez nejake promazavani nebo rekurze (tak jak je nize v originalu) > if ($cache_key < 0) { > $this->sync_header_index($mailbox); > $cache_key = 1; > $recursive = false; > } > 1335c1343,1348 < $this->add_message_cache($cache_key, $headers->id, $headers, NULL, true); --- > //brudan: > //ukládání cache pod message-id > // begin hook > //$this->add_message_cache($cache_key, $headers->id, $headers, NULL, true); > $this->add_message_cache($cache_key, $headers->uid, $headers, NULL, true); > // end hook 1623c1636,1641 < $this->add_message_cache($cache_key, $header->id, $header, NULL, true); --- > //brudan: > // cachování zpráv pod UID > // begin hook > //$this->add_message_cache($cache_key, $header->id, $header, NULL, true); > $this->add_message_cache($cache_key, $header->uid, $header, NULL, true); > //end hook 1645a1664,1666 > // brudan: > // vyřazení z provozu rušení zpráv > /* begin hook 1662a1684,1690 > */ > if(isset($cache_index[$uid])){ > unset($cache_index[$uid]); > continue; > } > > //end hook 1685c1713,1718 < $this->add_message_cache($cache_key, $header->id, $header, NULL, true); --- > // brudan: > // cachování zpráv pomocí UID > // begin hook > //$this->add_message_cache($cache_key, $header->id, $header, NULL, true); > $this->add_message_cache($cache_key, $header->uid, $header, NULL, true); > // end hook 2005c2038,2043 < $this->add_message_cache($mailbox.'.msg', $headers->id, $headers, NULL, false, true); --- > // brudan: > // cachování pomocí UID > // begin hook > //$this->add_message_cache($mailbox.'.msg', $headers->id, $headers, NULL, false, true); > $this->add_message_cache($mailbox.'.msg', $headers->uid, $headers, NULL, false, true); > // end hook 2039c2077,2082 < $this->_msg_id = $headers->id; --- > // brudan: > // naplnění proměnné UID, později použito pro naplnění cache > // begin hook > //$this->_msg_id = $headers->id; > $this->_msg_id = $headers->uid; > // end hook 2686a2730,2731 > //brudan: vyřazení vyčištění cache odspodu > //hook begin 2688c2733,2734 < $this->clear_message_cache($cache_key, $all_mode ? 1 : $start_index); --- > //$this->clear_message_cache($cache_key, $all_mode ? 1 : $start_index); > //hook end