Skip to content
Snippets Groups Projects
Commit 90700442 authored by Dennis Eisold's avatar Dennis Eisold
Browse files

Finished Issue #5, Issue #6 and Issue #3

parent d81d6812
No related branches found
No related tags found
No related merge requests found
<?php
class Logging_model extends CI_Model{
public function history_write($user_id, $action, $table_name = NULL, $table_id = NULL) {
$data = array(
'user_id' => $user_id,
'action' => $action,
'table_name' => $table_name,
'table_id' => $table_id,
);
$this->db->insert('history', $data);
return true;
}
}
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment