Kaynağa Gözat

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

Stephen Ficklin 6 yıl önce
ebeveyn
işleme
484e0016e2
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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)) {