Closed (fixed)
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2009 at 02:11 UTC
Updated:
13 Mar 2009 at 05:30 UTC
This patch caches popups_get_popups() and the calls to hook_popups()
| Comment | File | Size | Author |
|---|---|---|---|
| popupscache.patch | 1.52 KB | robloach |
Comments
Comment #1
starbow commentedRob - ok so the cache gets cleared automatically whenever a new module is enabled or disabled, right?
Comment #2
robloachYup! The cache is cleared whenever a module is enabled or disabled. I added that $reset flag just incase we want to force the cache to clear. Probably won't ever need to reset the cache ourselves, unless the popups change based on a saved setting, in which case a
popup_get_popups(TRUE);would do the trick.Comment #3
starbow commentedGreat. In it goes. A lot of the next release of popups api will have your name on it. Thanks!