You are here

function drupal_clear_path_cache in Redis 7.2

Same name and namespace in other branches
  1. 7.3 redis.path.inc \drupal_clear_path_cache()

Clear the path cache.

Parameters

$source: An optional system path for which an alias is being changed.

2 calls to drupal_clear_path_cache()
path_delete in ./redis.path.inc
Delete a URL alias.
path_save in ./redis.path.inc
Save a path alias to the database.

File

./redis.path.inc, line 584
Drupal default includes/path.inc file copy which only differs in:

Code

function drupal_clear_path_cache($source = NULL) {

  // Clear the drupal_lookup_path() static cache.
  drupal_static_reset('drupal_lookup_path');
  drupal_path_alias_whitelist_rebuild($source);
}