You are here

function _neutral_paths_fix in Neutral paths 7

Fixing a given path id.

2 calls to _neutral_paths_fix()
neutral_paths_path_insert in ./neutral_paths.module
Fixes new aliases.
neutral_paths_path_update in ./neutral_paths.module
Fixes updated aliases.

File

./neutral_paths.module, line 192
Neutral paths.

Code

function _neutral_paths_fix($pid) {
  db_update('url_alias')
    ->fields(array(
    'language' => LANGUAGE_NONE,
  ))
    ->condition('pid', $pid)
    ->execute();
}