You are here

function biblio_update_7016 in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 biblio.install \biblio_update_7016()

Convert textarea fields to text_format.

File

./biblio.install, line 2236

Code

function biblio_update_7016() {
  db_update('biblio_fields')
    ->fields(array(
    'type' => 'text_format',
  ))
    ->condition('type', 'textarea')
    ->execute();
}