function syntaxhighlighter_update_7002 in Syntax Highlighter 7.2
Change search path for syntaxhighlighter library.
File
- ./
syntaxhighlighter.install, line 87 - Syntax highlighter module installation file.
Code
function syntaxhighlighter_update_7002() {
variable_del('syntaxhighlighter_lib_location');
$lib_location = _syntaxhighlighter_get_lib_location();
if (!$lib_location) {
throw new DrupalUpdateException(t('Unable to find the syntaxhighlighter library. Please read README.txt for the updated installation instructions.'));
}
else {
return t('The syntaxhighlighter library was successfully found.');
}
}