summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-25 11:31:26 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-25 11:31:26 -0700
commit102630219a8cb16e4c2052fbc05e5019aafd834e (patch)
tree2a84b25aa0476d50327964d08dd3ad4e62cd8e96 /modules/system/system.install
parent349ce13e399522a69144ff4b998fa7014388e225 (diff)
downloadbrdo-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.install3
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();
}
/**