msg
This commit is contained in:
parent
040cf617f1
commit
8869f9f3d0
|
@ -47,8 +47,8 @@ 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('DreamjobJobApplication.id' => $this->application_id)));
|
$app = $this->Application->find('first', array('conditions' => array('DreamjobJobApplication.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