function og_update_5700 in Organic groups 5
Same name and namespace in other branches
- 5.8 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 462
Code
function og_update_5700() {
$ret = array();
if (variable_get('og_enabled', FALSE) && !module_exists('og_access')) {
module_enable('og_access');
}
// variable_del('og_enabled'); is harmless to leave around, and will help if someone reruns the update.
return $ret;
}