Commit 0cb2bb2a authored by zhuwei's avatar zhuwei

parent 410a0711
......@@ -33,11 +33,6 @@ class HomePageLog extends Basic
function __construct(Request $request = null)
{
parent::__construct($request);
$date = date("Y-m-d", time());
$t_follow_up_task = new FollowUpTask();
if(!$t_follow_up_task->isExistTable($date, $this->siteId)){
return false;
}
$this->uPhoneFollowUpModel = new UPhoneFollowUp( $this->siteId);
$this->gHouseFollowUpModel = new GHousesFollowUp();
$this->phoneFollowUpTemporary = new UPhoneFollowUpTemporary( $this->siteId);
......
......@@ -24,11 +24,6 @@ class PhoneFollowUpService
public function __construct($site_id)
{
$this->siteId = $site_id;
$date = date("Y-m-d", time());
$t_follow_up_task = new FollowUpTask();
if(!$t_follow_up_task->isExistTable($date, $site_id)){
return false;
}
$this->phoneFollowUp = new UPhoneFollowUp($site_id);
$this->phoneFollowUpTemporary = new UPhoneFollowUpTemporary($site_id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment