FHC Helper

This commit is contained in:
Paminger
2016-06-29 08:41:02 +02:00
parent 6af45f99f6
commit 9a44c818ea
31 changed files with 957 additions and 71 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ class Seed_Message
public function __construct()
{
$this->fhc =& get_instance();
$this->fhc->load->library('MessageLib');
$this->fhc->load->helper('fhc');
}
public function seed($limit = 50)
@@ -36,7 +36,7 @@ class Seed_Message
(
'message_id' => $message_id,
'person_id' => $person[$i%($num_persons-1)+1]->person_id,
'token' => $this->fhc->messagelib->generateToken(),
'token' => generateToken(),
'insertvon' => 'seed'
);
$recipient = $this->fhc->db->insert('public.tbl_msg_recipient', $data);