diff --git a/tagadelic.install b/tagadelic.install index 6425cce..5700810 100644 --- a/tagadelic.install +++ b/tagadelic.install @@ -33,9 +33,31 @@ function tagadelic_update_1000() { update_variable_del('tagadelic_block_title_' . $machine_name); update_variable_del('tagadelic_block_tags_' . $machine_name); } + + return t('Old Drupal 7 varaibles converted to Backdrop configuration.'); } /** * @} End of "defgroup updates-7.x-to-1.x" - * The next series of updates should start at 2000. */ + +/** + * @defgroup updates-for-1.x Updates for Backdrop 1.x + * @{ + * Update functions from Drupal 7.x to Backdrop CMS 1.x. + */ + +/** + * Rebuild the theme registry. + */ +function tagadelic_update_1001() { + // Rebuild the theme registry for the new theme.inc file. + system_rebuild_theme_data(); + + return t('Theme registry rebuilt for Tagadelic module.'); +} + +/** + * @} End of "defgroup updates-for-1.x" + * The next series of updates should start at 2000. + */ \ No newline at end of file