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