Closed (fixed)
Project:
User Points
Version:
5.x-2.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 May 2007 at 07:53 UTC
Updated:
12 Jun 2007 at 14:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
kbahey commentedThe variable named USERPOINTS_INVITE_REGISTER has been renamed USERPOINTS_INVITE_REGISTER_INVITER.
This breaks backward compatibility for users who use this module. They have to go and configure invite again, or they can get wrong points.
So, either you rename it back to what it was (not breaking compatibilty), or you create an _update_1 function that takes care of that (rename the variable in the database).
Comment #2
jondoesdrupal commentedLaziness on my part there, not wrapping things up properly with an update.
Here's a .install file which provides the update - checks for an existing variable and replaces it with the new one if it finds it.
Comment #3
kbahey commentedCommitted to HEAD and 5.x
Thanks again.
Comment #4
(not verified) commented