You are here

function faq_update_7003 in Frequently Asked Questions 7

Convert faq page description to array.

File

./faq.install, line 413
FAQ module install file.

Code

function faq_update_7003(&$sandbox) {
  $description = variable_get('faq_description', '');
  $format = variable_get('faq_description_format', filter_fallback_format());
  $faq_description = array(
    'value' => $description,
    'format' => $format,
  );
  variable_set('faq_description', $faq_description);
  variable_del('faq_description_format');
  return t('Converted faq page description to array.');
}