diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-25 11:31:26 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-25 11:31:26 -0700 |
commit | 102630219a8cb16e4c2052fbc05e5019aafd834e (patch) | |
tree | 2a84b25aa0476d50327964d08dd3ad4e62cd8e96 /modules/system/system.install | |
parent | 349ce13e399522a69144ff4b998fa7014388e225 (diff) | |
download | brdo-102630219a8cb16e4c2052fbc05e5019aafd834e.tar.gz brdo-102630219a8cb16e4c2052fbc05e5019aafd834e.tar.bz2 |
- #1218954 by Mark Theunissen: Fixed Path aliases broken after upgrade.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index e06744460..e55c7cf3a 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2263,6 +2263,9 @@ function system_update_7042() { // provided any meaningful unique constraint ('pid' is a primary key). db_add_index('url_alias', 'source_language_pid', array('source', 'language', 'pid')); db_add_index('url_alias', 'alias_language_pid', array('alias', 'language', 'pid')); + + // Now that the URL aliases are correct, we can rebuild the whitelist. + drupal_path_alias_whitelist_rebuild(); } /** |