You are here

function og_update_6001 in Organic groups 6

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

File

./og.install, line 380

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;
}