You are here

function heartbeat_update_403 in Heartbeat 6.4

Update to version 4.6.9

Return value

sql statements array

File

./heartbeat.install, line 429
Installation file for the heartbeat module. @author Jochen Stals - Menhir - www.menhir.be

Code

function heartbeat_update_403() {
  $tags = array();
  $old_tags = explode(',', variable_get('heartbeat_allowed_tags', ''));
  foreach ($old_tags as $tag) {
    if (!in_array($tag, array(
      'script',
      'style',
      'embed',
      'object',
      'param',
    ))) {
      $tags[] = $tag;
    }
  }
  variable_set('heartbeat_allowed_tags', implode(',', $tags));
  return array();
}