You are here

function _tvi_update_store_6002 in Taxonomy Views Integrator 6

1 call to _tvi_update_store_6002()
tvi_update_6002 in ./tvi.install
Implements tvi_hook_update_N().

File

./tvi.install, line 207
Installation file for TVI module.

Code

function _tvi_update_store_6002(&$ret, $map) {
  foreach ($map as $row) {
    $query = "UPDATE {tvi_settings} t SET t.view_name = '{$row->view_name}' WHERE type = '{$row->type}' AND t.xid = {$row->xid}";
    $ret[] = update_sql($query);
  }
  return $ret;
}