Should be profile2_create(). Patch attached.

CommentFileSizeAuthor
profile2_create.patch3.8 KBfago

Comments

fago’s picture

Status: Active » Needs review
fago’s picture

Status: Needs review » Fixed

Decided to also add a deprecated profile_create() function for now to keep backward compatibility + committed it.

geerlingguy’s picture

Status: Fixed » Needs work

In 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 :)

fago’s picture

Status: Needs work » Fixed

ok, I've added a note to that. See http://drupal.org/node/1392866

geerlingguy’s picture

Perfect, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.