Commit 22df3519142b4eea4d437826f894ff8599cb327e

Authored by Adhidarma Hadiwinoto
1 parent d16ab8a958
Exists in master

delete insert update

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

sinkronisasi.include.php
... ... @@ -246,7 +246,7 @@ function delete_all_terms_by_vid($vid) {
246 246 }
247 247  
248 248 foreach ($result['taxonomy_term'] as $term) {
249   - echo "Deleting " . $term->tid . " " . $term->name;
  249 + echo "Deleting " . $term->tid;
250 250 echo ", status: ";
251 251 echo taxonomy_term_delete($term->tid);
252 252 echo "\n";
sinkronisasi_import.php
... ... @@ -3,7 +3,7 @@
3 3 require("sinkronisasi.include.php");
4 4  
5 5 if (function_exists('drush_main')) {
6   - $do_insert = FALSE;
  6 + $do_insert = TRUE;
7 7 $do_update = TRUE;
8 8  
9 9 $machine_names = array("jenis_kantor", "kantor");