You are here

function shorten_flush_caches in Shorten URLs 7

Same name and namespace in other branches
  1. 8.2 shorten.module \shorten_flush_caches()
  2. 8 shorten.module \shorten_flush_caches()
  3. 6 shorten.module \shorten_flush_caches()
  4. 7.2 shorten.module \shorten_flush_caches()

Implements hook_flush_caches().

File

./shorten.module, line 113
Shortens URLs via external services.

Code

function shorten_flush_caches() {
  if (variable_get('shorten_cache_clear_all', TRUE)) {
    return array(
      'cache_shorten',
    );
  }
  return array();
}