Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2010 at 21:19 UTC
Updated:
17 Jan 2011 at 16:00 UTC
Flag 2.x expects a second parameter, sid, to get_user_count(). Flag 1.x doesn't. This makes it harder for me to write snippets to users that should work on both systems. Moreover, calling flag_get_sid() looks "out of place" in such snippets, even if they're for Flag 2.x only.
We should make the 'sid' optional.
Comments
Comment #1
mooffie commentedHere's one example for the tedious discussions I have to conduct with users because of this. Not to mention all the handbook pages that will have to be updated.
Comment #2
mooffie commentedFixed.
http://drupal.org/cvs?commit=473368
http://drupal.org/cvs?commit=473372