Explorar el Código

Added a clear cache after importers run

Stephen Ficklin hace 7 años
padre
commit
38d2d8c328
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      tripal/api/tripal.importer.api.inc

+ 3 - 0
tripal/api/tripal.importer.api.inc

@@ -123,6 +123,9 @@ function tripal_run_importer($import_id, TripalJob $job = NULL) {
     // Check for new fields and notify the user.
     tripal_tripal_cron_notification();
 
+    // Clear the Drpual chace
+    cache_clear_all();
+
   }
   catch (Exception $e) {
     $transaction->rollback();