From 102630219a8cb16e4c2052fbc05e5019aafd834e Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 25 Jul 2011 11:31:26 -0700 Subject: - #1218954 by Mark Theunissen: Fixed Path aliases broken after upgrade. --- modules/system/system.install | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/system/system.install') 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(); } /** -- cgit v1.2.3