You are here

function syntaxhighlighter_update_6100 in Syntax Highlighter 6

Same name and namespace in other branches
  1. 6.2 syntaxhighlighter.install \syntaxhighlighter_update_6100()

File

./syntaxhighlighter.install, line 50
Syntax highlighter module installation file.

Code

function syntaxhighlighter_update_6100() {
  $items = array();

  // Enable the filter for the help text to show up automatically
  $items[] = update_sql("DELETE FROM {filters} where module='syntaxhighlighter'");
  $items[] = update_sql("INSERT INTO {filters} (format, module, delta, weight) VALUES (2, 'syntaxhighlighter', 0, 10)");
  return $items;
}