You are here

function campaignmonitor_update_6300 in Campaign Monitor 6.3

Removes double serialization of lists in the database.

File

./campaignmonitor.install, line 38

Code

function campaignmonitor_update_6300() {
  $lists = variable_get('campaignmonitor_lists', array());
  if (!empty($lists) && !is_array($lists)) {
    $lists = unserialize($lists);
    variable_set('campaignmonitor_lists', $lists);
  }
}