boost_cache_cleaner 7.x-3.x-dev

New features

Support for Domain Access module

<?php
/**
 * Callback function for boost cache cleaner.
 */
function boost_cache_cleaner_callback() {
  // Check if user has access to this function.
  if (!user_is_anonymous()) {
    if (module_exists('domain')) {
      global $base_root;
      foreach (domain_domains() as $domain) {
        if (isset($domain['path'])) {
          $base_root = $domain['path'];
          boost_flush_caches();
        }
      }
    } else {
      boost_flush_caches();
    }
  }
}
?>

boost_cache_cleaner 7.x-1.x-dev

boost_cache_cleaner 7.x-1.x-dev is the dev version for testing the code and initial release for the drupal.org.

Subscribe with RSS Subscribe to Releases for Boost Cache Cleaner