function apachesolr_environments_clear_cache in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.module \apachesolr_environments_clear_cache()
- 7 apachesolr.module \apachesolr_environments_clear_cache()
Clear all caches for environments.
11 calls to apachesolr_environments_clear_cache()
- apachesolr_environment_delete in ./
apachesolr.module - Function that deletes an environment
- apachesolr_environment_load in ./
apachesolr.module - Function that loads an environment
- apachesolr_environment_save in ./
apachesolr.module - Function that saves an environment
- apachesolr_environment_variable_del in ./
apachesolr.module - Get a named variable, or return the default.
- apachesolr_environment_variable_set in ./
apachesolr.module - Set a named variable, or return the default.
File
- ./
apachesolr.module, line 1415 - Integration with the Apache Solr search application.
Code
function apachesolr_environments_clear_cache() {
// Reset all caches - use reset flag so we can get
// to the static variables.
apachesolr_get_solr(NULL, TRUE);
apachesolr_load_all_environments(TRUE);
}