You are here

function tft_log_archive in Taxonomy File Tree 7.2

Same name and namespace in other branches
  1. 7 tft.module \tft_log_archive()

Deprecated

Archives are OG specific

File

./tft.module, line 1480
Hook implementations and module logic for TFT.

Code

function tft_log_archive($id, $type, $previous_tid, $og_nid) {
  db_insert('tft_archive_restore')
    ->fields(array(
    'id' => $id,
    'type' => $type,
    'previous_parent_tid' => $previous_tid,
    'og_nid' => $og_nid,
  ))
    ->execute();
}