You are here

function userpoints_update_7000 in User Points 7.2

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

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

File

./userpoints.install, line 297
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),
  ));
}