You are here

function og_update_6001 in Organic groups 6.2

Same name and namespace in other branches
  1. 6 og.install \og_update_6001()

File

./og.install, line 402

Code

function og_update_6001() {
  $ret = array();
  drupal_install_modules(array(
    'og_views',
  ));

  //enable the og_views block instead of the plain og one
  $ret[] = update_sql("UPDATE {blocks} SET module = 'og_views', delta = '1' WHERE module = 'og' AND delta = '5'");
  return $ret;
}