Closed (fixed)
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2011 at 14:00 UTC
Updated:
20 Jan 2012 at 15:50 UTC
Should be profile2_create(). Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| profile2_create.patch | 3.8 KB | fago |
Comments
Comment #1
fagoComment #2
fagoDecided to also add a deprecated profile_create() function for now to keep backward compatibility + committed it.
Comment #3
geerlingguy commentedIn the release notes, could you make this change a bit more prominent? I'm glad I read through the entire release notes for 1.2, as this API change would've tripped me up a bit on one of my sites...
Maybe at the top of the release notes, put API Change: profile_create() has been renamed to profile2_create().
profile_create() still works, as noted above, but the fact that it's deprecated means people should start using profile2_create() instead :)
Comment #4
fagook, I've added a note to that. See http://drupal.org/node/1392866
Comment #5
geerlingguy commentedPerfect, thanks!