Browse Source

added the drupal_path_alias_whitelist_rebuild() function call after alias rebuliding to address issue #727

Stephen Ficklin 6 years ago
parent
commit
484e0016e2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tripal/includes/tripal.bulk_update.inc

+ 3 - 0
tripal/includes/tripal.bulk_update.inc

@@ -42,6 +42,9 @@ function tripal_update_all_urls_and_titles($bundle_id, $update, $type) {
         $ec->setAlias($ent, $update);
         $ec->resetCache();
       }
+      // To speed up bulk alias updating the following function was skipped
+      // over. We'll add it back here to complete the process.
+      drupal_path_alias_whitelist_rebuild();
     }
     elseif ($type == 'title') {
       if (!empty($arg)) {