Closed (fixed)
Project:
Achievements
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 16:07 UTC
Updated:
11 Oct 2011 at 18:01 UTC
Attached is a patch that adds query tags to the queries in achievements_totals() and achievements_totals_user(). This will allow module developers to alter the queries if necessary.
| Comment | File | Size | Author |
|---|---|---|---|
| query_tags.patch | 1.25 KB | makononov |
Comments
Comment #1
morbus iffSounds good, but why wouldn't we want tags for all the queries, versus just these two?
Comment #2
morbus iffCommitted.
Comment #3
makononov commentedSorry for the late reply -- These two were necessary for my immediate needs, and I could see others wanting to modify those particular queries as well. Adding them to all the queries could just generate useless noise, so I would think it would be better to add them as the need develops.
Same thing with adding in hooks. Some are necessary and helpful. Too many just clutters the code and doesn't serve any real purpose.