6.0.0-RC7
6/29/26

[#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 1/9/08 (6746 days ago)
Due
Updated 2/26/08 (6698 days ago)
Assigned 1/9/08 (6746 days ago)
Resolved 2/26/08 (6698 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
5710 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.
408 Chuck Hagenbuch Assigned to Jan Schneider
State ⇒ Assigned
 
78 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