Replace Drupal Set Message Filter Cache Cleared with Watchdog message

darren.ferguson - April 21, 2009 - 14:05
Project:Glossary
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

The glossary module in _glossary_clear_cache() function the system puts out the drupal_set_message filter cache being cleared.

This is confusing to users who are updating the taxonomies and maybe are not administrators and if there are more than one term in the vocabulary then the message will appear 'X' times with X being the number of terms in the vocabulary.

The patch proposed below makes this message a watchdog message so that if the administrator really wishes to see this they can check the log reports.

#1

darren.ferguson - April 21, 2009 - 14:07

Below is the attached patch for this functionality.

AttachmentSize
glossary-440348.patch 1.01 KB
 
 

Drupal is a registered trademark of Dries Buytaert.