function pagestyle_update_6190 in Page Style 6
Update 6110 for 6.x-1.10: Delete unused varibales and presend informations.
File
- ./
pagestyle.install, line 155 - This file update or uninstall the Page Style module.
Code
function pagestyle_update_6190() {
$ret = array();
// 1 Delete variable pagestyle_fontweight_standard.
variable_del('pagestyle_fontweight_standard', 'normal');
drupal_set_message(t('Page Style') . ' ' . t('module') . '. ' . t('Update') . ' #6190: ' . t('Variable deleted:') . ' "<del><em>pagestyle_fontweight_standard: normal</em></del>".', 'status');
// 2 Present information about the Page Style switcher in the browser menu.
drupal_set_message(t('Page Style') . ' ' . t('module') . '. ' . t('Update') . ' #6190: ' . t('Feature deactivated:') . ' "<em>' . t('Advanced settings') . '/' . l(t('Add Page Style switcher in the browser menu'), 'admin/settings/pagestyle', array(
'attributes' => array(
'title' => t('Internal link to:') . ' ' . t('Add Page Style switcher in the browser menu'),
),
'fragment' => 'edit-browser-style-switcher',
)) . ': ' . t('Unchecked') . '</em>".', 'warning');
// 3 Present information about caching.
drupal_set_message(t('Page Style') . ' ' . t('module') . '. ' . t('Update') . ' #6190: ' . t('New feature:') . ' ' . ' "<em>' . t('Advanced settings') . '/' . t('Scripting languages') . '/' . l('PHP + JavaScript + ' . t('Optimized for performance'), 'admin/settings/pagestyle', array(
'attributes' => array(
'title' => t('Internal link to:') . ' ' . 'PHP + JavaScript + ' . t('Optimized for performance'),
),
'fragment' => 'edit-pagestyle-javascript-2',
)) . ': ' . t('Unchecked') . '</em>". ' . t('If you use caching, set it to:') . ' "' . t('Checked') . '".', 'status');
return $ret;
}