You are here

function pagerer_update_7102 in Pagerer 7

2. Prepare Pagerer variables for 7.x-1.1.

File

./pagerer.install, line 97
Pagerer install

Code

function pagerer_update_7102() {
  $vars = variable_get('pagerer', array());
  if (!isset($vars['core_override_preset'])) {
    $vars['core_override_preset'] = isset($vars['pagerer_override_pager']) ? $vars['pagerer_override_pager'] : 'core';
  }
  unset($vars['pagerer_override_pager']);
  variable_set('pagerer', $vars);
}