| Summary | sql-storage and $_prefs['rules'] |
| Queue | Ingo |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | Jan Schneider <jan (at) horde (dot) org> |
| Requester | tinu (at) humbapa (dot) ch |
| Created | 01/09/2008 (123 days ago) |
| Due | |
| Updated | 02/26/2008 (75 days ago) |
| Assigned | 01/09/2008 (123 days ago) |
| Resolved | 02/26/2008 (75 days ago) |
| Attachments | sql.php.patch ![]() |
| Milestone | |
| Patch |
State ⇒ Resolved
Tweaked to use Prefs::getDefault() because we don't want to get any left-overs that might be in the preferences backend, but really the default values from config/prefs.php.Assigned to Jan Schneider
New Attachment: sql.php.patch
Queue ⇒ Ingo
Summary ⇒ sql-storage and $_prefs['rules']
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
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!