function commons_groups_update_3111 in Drupal Commons 7.3
Set commons_groups to display need update message for those upgrading from 3.2 and revert the view to add the update display See https://drupal.org/node/2059857#comment-7733465
File
- modules/
commons/ commons_groups/ commons_groups.install, line 141
Code
function commons_groups_update_3111() {
variable_set('commons_groups_needs_update', TRUE);
$revert = array(
'commons_groups' => array(
'views_view',
),
);
features_revert($revert);
// Ensure that the menu callback from our new Views display is active.
menu_rebuild();
return array();
}