<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>sql-storage and $_prefs[&#039;rules&#039;]</title> 
  <pubDate>Fri, 10 Apr 2026 17:28:12 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6096</link> 
  <atom:link rel="self" type="application/rss+xml" title="sql-storage and $_prefs[&#039;rules&#039;]" href="https://bugs.horde.org/ticket/6096/rss" /> 
  <description>sql-storage and $_prefs[&#039;rules&#039;]</description> 
 
   
   
  <item> 
   <title>I define some default rules via the unserialized array in $_</title> 
   <description>I define some default rules via the unserialized array in $_prefs[&#039;rules&#039;][&#039;value&#039;] 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!</description> 
   <pubDate>Wed, 09 Jan 2008 20:27:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6096#t40960</link> 
  </item> 
   
  <item> 
   <title>Tweaked to use Prefs::getDefault() because we don&#039;t want to </title> 
   <description>Tweaked to use Prefs::getDefault() because we don&#039;t want to get any left-overs that might be in the preferences backend, but really the default values from config/prefs.php.</description> 
   <pubDate>Tue, 26 Feb 2008 22:21:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6096#t43161</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
