Posted by Rob Loach on February 13, 2009 at 2:11am
Jump to:
| Project: | Popups API (Ajax Dialogs) |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
This patch caches popups_get_popups() and the calls to hook_popups()
| Attachment | Size |
|---|---|
| popupscache.patch | 1.52 KB |
Comments
#1
Rob - ok so the cache gets cleared automatically whenever a new module is enabled or disabled, right?
#2
Yup! 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.#3
Great. In it goes. A lot of the next release of popups api will have your name on it. Thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.