You are here

function beautytips_admin_submit in BeautyTips 6

Same name and namespace in other branches
  1. 6.2 beautytips.admin.inc \beautytips_admin_submit()
  2. 7.2 beautytips.admin.inc \beautytips_admin_submit()

Clear menu cache and theme registry in case beautytips help tips turned on or off

1 string reference to 'beautytips_admin_submit'
beautytips_admin in ./beautytips.module
Beautytips administration page

File

./beautytips.module, line 81
Provides API for adding beautytips to pages. Adds Beautytips settings page and provides some built in functionality.

Code

function beautytips_admin_submit() {
  module_invoke('menu', 'rebuild');
  cache_clear_all('*', 'cache_menu', TRUE);
  drupal_rebuild_theme_registry();
}