[drupal-devel] [bug] redundant function call in system_settings_save()

DriesK drupal-devel at drupal.org
Wed Jul 20 13:38:22 UTC 2005


Issue status update for 
http://drupal.org/node/27131
Post a follow up: 
http://drupal.org/project/comments/add/27131

 Project:      Drupal
 Version:      cvs
 Component:    system.module
 Category:     bug reports
 Priority:     minor
 Assigned to:  Anonymous
 Reported by:  DriesK
 Updated by:   DriesK
 Status:       patch
 Attachment:   http://drupal.org/files/issues/system_settings_save.patch (226 bytes)

system_settings_save() first calls cache_clear_all(), immediately
followed by menu_rebuild(). However, the first function which is called
by menu_rebuild(), is cache_clear_all(), so removing the first call
means less db-queries.
Patch (tiny one) attached.




DriesK




More information about the drupal-devel mailing list