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

3 calls to fp_clear_cache()
install_perform_install in ./install.php
Actually performs the installation of FlightPath
system_confirm_db_updates_form_submit in modules/system/system.module
Perform the actual hook_update calls here, send the user to a completed page.
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 269
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');
  }
}