msg
This commit is contained in:
parent
fa24b58015
commit
01b79893bd
|
@ -47,7 +47,9 @@ class DreamjobJobMsg extends AppModel {
|
||||||
$dataSource->begin();
|
$dataSource->begin();
|
||||||
$result = $this->save();
|
$result = $this->save();
|
||||||
if($result){
|
if($result){
|
||||||
|
die($result);
|
||||||
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $this->application_id)));
|
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $this->application_id)));
|
||||||
|
die($app);
|
||||||
if($this->fromcompany)
|
if($this->fromcompany)
|
||||||
$result = self::sendMail($app['User']['mail'],$this->application_id);
|
$result = self::sendMail($app['User']['mail'],$this->application_id);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue