You are here

function userpoints_update_7000 in User Points 7

Same name and namespace in other branches
  1. 7.2 userpoints.install \userpoints_update_7000()

Update profile category setting, allow multiple categories to be displayed.

File

./userpoints.install, line 225
Install time hook userpoints module.

Code

function userpoints_update_7000() {
  variable_set(USERPOINTS_CATEGORY_PROFILE_DISPLAY_TID, array(
    variable_get(USERPOINTS_CATEGORY_PROFILE_DISPLAY_TID, 0),
  ));
}