You are here

function seo_checker_update_6100 in SEO Compliance Checker 6.2

Same name and namespace in other branches
  1. 6 seo_checker.install \seo_checker_update_6100()

Implementation of hook_update_N().

File

./seo_checker.install, line 67
Installer for the SEO Compliance Checker

Code

function seo_checker_update_6100() {
  $allow_failures = variable_get('seo_checker_allow_failures', 1);
  if ($allow_failures == 0) {
    variable_set('seo_checker_allow_failures', 'no-failures');
  }
  elseif ($allow_failures == 1) {
    variable_set('seo_checker_allow_failures', 'show-preview-only');
  }
  return array();
}