You are here

function textsize_clear_cache in Text Size 6

Same name and namespace in other branches
  1. 5 includes/textsize.block.inc \textsize_clear_cache()
  2. 7 includes/textsize.block.inc \textsize_clear_cache()

Clear defined cache tables

6 calls to textsize_clear_cache()
textsize_check in ./textsize.module
Check the cookie "textsize" value of changing (bye JavaScript) for anonymus user.
textsize_decrease in includes/textsize.block.inc
Menu callback; decrease the textsize, then redirects to the previous page.
textsize_form in includes/textsize.block.inc
Implement hook_form().
textsize_increase in includes/textsize.block.inc
Menu callback; increase the textsize, then redirects to the previous page.
textsize_normal in includes/textsize.block.inc
Menu callback; change the textsize to normal, then redirects to the previous page.

... See full list

File

includes/textsize.block.inc, line 248
block, page and theme functions.

Code

function textsize_clear_cache() {
  $tables = array(
    'cache_page',
    'cache_block',
  );
  foreach ($tables as $table) {
    cache_clear_all('*', $table, TRUE);
  }
}