[dev] Scry last poll block optimisation

Duck duck at obala.net
Mon Oct 4 08:00:04 PDT 2004


Now that we can limit how many polls to fetch, we don't neet to get all polls 
data to select the last one. The patch limit the retriving to the first 
retuned poll.

Then as we select the poll in the title of the block. We can "cache" the poll 
data in "this->_poll" so we can reuse id later in the _content block call.


Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sql.patch
Type: text/x-diff
Size: 682 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20041004/a4b3e527/sql.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poll.patch
Type: text/x-diff
Size: 2011 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20041004/a4b3e527/poll.bin


More information about the dev mailing list