function og_update_5700 in Organic groups 5.8
Same name and namespace in other branches
- 5 og.install \og_update_5700()
- 5.3 og.install \og_update_5700()
- 5.7 og.install \og_update_5700()
- 6.2 og.install \og_update_5700()
- 6 og.install \og_update_5700()
Enable og_access module if needed
File
- ./
og.install, line 442
Code
function og_update_5700() {
$ret = array();
if (variable_get('og_enabled', FALSE) && !module_exists('og_access')) {
drupal_install_modules(array(
'og_access',
));
}
// variable_del('og_enabled'); is harmless to leave around, and will help if someone reruns the update.
return $ret;
}