You are here

function syntaxhighlighter_update_6103 in Syntax Highlighter 6

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

Rename 'syntaxhighlighter_off_pages' variable to 'syntaxhighlighter_pages'

File

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

Code

function syntaxhighlighter_update_6103() {
  variable_set('syntaxhighlighter_pages', variable_get('syntaxhighlighter_off_pages', "admin\nadmin/*\nuser\nuser/*\nimce\nimce/*\n"));
  variable_del('syntaxhighlighter_off_pages');
  return array();
}