function syntaxhighlighter_update_6102 in Syntax Highlighter 6
Same name and namespace in other branches
- 6.2 syntaxhighlighter.install \syntaxhighlighter_update_6102()
Delete the cached javascript lib location in case the library has been upgraded to a different location.
File
- ./
syntaxhighlighter.install, line 74 - Syntax highlighter module installation file.
Code
function syntaxhighlighter_update_6102() {
variable_del('syntaxhighlighter_lib_location');
$t = get_t();
drupal_set_message($t('Syntaxhighlighter module: go to <a href="!link">the status page</a> to ensure the Syntaxhighlighter Javascript library is installed correctly. Also, anytime the library install location changes, visit the <a href="!link">the status page</a> to update the cached location value.', array(
'!link' => url('admin/reports/status'),
)), 'warning');
return array();
}