Closed (fixed)
Project:
Hotkey
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Mar 2011 at 22:42 UTC
Updated:
25 Jul 2011 at 19:02 UTC
We should use a static variable so that we only have to query the hotkey database once, rather than once for each node we're trying to add links to.
Here is a patch. This patch is against 2.2, with my previous patch applied to it #1086696: Hooks for modules to define hotkeys. If you'd rather have a clean patch against 2.2, I can make one of those, too.
| Comment | File | Size | Author |
|---|---|---|---|
| hotkey_use_static.diff | 4.91 KB | galaxor |
Comments
Comment #1
galaxor commentedComment #2
smokrisThanks. Applied. Present in 6.x-2.4.