function fp_clear_cache

6.x misc.inc fp_clear_cache()
4.x misc.inc fp_clear_cache()
5.x misc.inc fp_clear_cache()

Call all modules which implement hook_clear_cache

5 calls to fp_clear_cache()
cli.php in ./cli.php
install_perform_install in ./install.php
Actually performs the installation of FlightPath
system_finished_db_updates_finished in modules/system/system.module
system_modules_form_submit in modules/system/system.module
Submit handler for the modules form.
system_perform_clear_cache in modules/system/system.module
This function will clear our various caches by calling on the hook_clear_cache in each module.

File

includes/misc.inc, line 938
This file contains misc functions for FlightPath

Code

function fp_clear_cache() {
  // Find modules which implement hook_clear_cache
  $modules = modules_implement_hook("clear_cache");
  foreach ($modules as $module) {
    call_user_func($module . '_clear_cache');
  }
}