[Tickets #6096] sql-storage and $_prefs['rules']

bugs at horde.org bugs at horde.org
Wed Jan 9 20:27:08 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/?id=6096
-----------------------------------------------------------------------
 Ticket             | 6096
 Created By         | tinu at humbapa.ch
 Summary            | sql-storage and $_prefs['rules']
 Queue              | Ingo
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | sql.php.patch
-----------------------------------------------------------------------


tinu at humbapa.ch (2008-01-09 15:27) wrote:

I define some default rules via the unserialized array in
$_prefs['rules']['value'] at ingo/config/prefs.php.

when I use the sql-storage-driver the init() methode from the
Ingo_Storage_filters_sql object adds some default data to the table_rules
table when running for the first time. my small patch now also consider the
rules from the prefs-rules settings.
I copied most of the code from the prefs-storage-driver who already does
this.

thanks!



More information about the bugs mailing list