+ add mailExist function.

This commit is contained in:
zhujinyong
2013-01-11 05:32:54 +00:00
parent 05ff202810
commit 71bfcceb8d
3 changed files with 14 additions and 2 deletions
+2 -1
View File
@@ -82,7 +82,7 @@ class mail extends control
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
$this->view->position[] = $this->lang->mail->edit;
$this->view->mailExist = $this->dao->select('email')->from(TABLE_USER)->where('email')->ne('')->fetch();
$this->view->mailExist = $this->mail->mailExist();
$this->view->mailConfig = $mailConfig;
$this->display();
}
@@ -121,6 +121,7 @@ class mail extends control
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
$this->view->position[] = $this->lang->mail->save;
$this->view->mailExist = $this->mail->mailExist();
$this->display();
}
}