You are here

function views_bulk_operations_update_2 in Views Bulk Operations (VBO) 5

File

./views_bulk_operations.install, line 33

Code

function views_bulk_operations_update_2() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("UPDATE {vbo_settings} SET name = REPLACE(name, 'views_bulk_operations_prefs_', '')");
      $ret[] = update_sql("UPDATE {variable} SET name = REPLACE(name, 'views_bulk_operations_queue_', 'vbo_queue_')");
      break;
  }
  return $ret;
}