6.0.0-beta1
7/11/25

[#6096] sql-storage and $_prefs['rules']
Summary sql-storage and $_prefs['rules']
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester tinu (at) humbapa (dot) ch
Created 01/09/2008 (6393 days ago)
Due
Updated 02/26/2008 (6345 days ago)
Assigned 01/09/2008 (6393 days ago)
Resolved 02/26/2008 (6345 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/26/2008 10:21:57 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
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.
01/09/2008 08:42:40 PM Chuck Hagenbuch Assigned to Jan Schneider
State ⇒ Assigned
 
01/09/2008 08:27:07 PM tinu (at) humbapa (dot) ch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ sql-storage and $_prefs['rules']
Queue ⇒ Ingo
New Attachment: sql.php.patch Download
State ⇒ Unconfirmed
Reply to this comment
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!

Saved Queries