function og_vocab_update_7101 in OG Vocabulary 7
Fill in field name for OG vocabularies without a field name.
File
- ./
og_vocab.install, line 247 - Install file for the og_vocab module.
Code
function og_vocab_update_7101() {
db_update('og_vocab')
->fields(array(
'field_name' => OG_VOCAB_FIELD,
))
->condition('field_name', '', '=')
->execute();
}