The function excerpt_update_5000() should return an array. Since no custom queries are being run, it should just return an empty array.

function excerpt_update_5000() {
  foreach (module_list() as $module) {
    $var_old = 'excerpt_option_'. $module;
    $var_new = 'excerpt_'. $module;
    $old = variable_get($var_old, NULL);
    $new = variable_get($var_new, NULL);
    // Don't overwrite existing variables.
    if (isset($old) && !isset($new)) {
      variable_set($var_new, $old);
      variable_del($var_old);
    }
  }
  return array();
}

Comments

smk-ka’s picture

Status: Active » Fixed

Yep, this has already been fixed in CVS. Thanks anyway!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.