Closed (fixed)
Project:
OpenSearch feed
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jan 2010 at 07:16 UTC
Updated:
13 Feb 2010 at 09:20 UTC
Considering #668708: Provide settings for each search page, it is better to save the settings in a database table, rather than in Drupal variables.
It is inefficient to call variable_get() for each variable used when it would be possible to get all the settings with a single db_query() call, and it doesn't allow to easily add more settings; it would be also a little more difficult to do it when the code will be changed as per #668708: Provide settings for each search page.
Comments
Comment #1
avpadernoThe code has been changed, and committed in CVS.