[Tickets #6109] Re: optimized sql Share driver

bugs at horde.org bugs at horde.org
Tue Feb 19 18:34:49 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=6109
-----------------------------------------------------------------------
 Ticket             | 6109
 Updated By         | Duck <duck at obala.net>
 Summary            | optimized sql Share driver
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Enhancement
 State              | Accepted
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | sql.php
-----------------------------------------------------------------------


Duck <duck at obala.net> (2008-02-19 13:34) wrote:

I am uploading a new version that fixes a little bug in  _getShareCriteria
I discovered while trying to port it to Ansel.

Horde_Share_Object_sqlmini is us just a hack, and can be completely
omitted. Is a fact that all applications fetches the list only to get the
share id, name and owner. All other actions are done on a single share
object. Only Kronolith uses the results from listShares for permission
checking. So it would be better to remove Horde_Share_Object_sqlmini and
add a method to return an indexed array for share names/owners as we
already discussed some time ago in the list.



More information about the bugs mailing list