comment error

This commit is contained in:
wlx 2014-03-21 01:58:57 +00:00
parent 3f2aa11842
commit 6618361e63
1 changed files with 4 additions and 4 deletions

View File

@ -2641,7 +2641,7 @@ class Admin_DataController extends Zend_Controller_Action
{ {
//同步元数据 //同步元数据
$iso=new ISO19115(); $iso=new ISO19115();
$iso->saveDB($this->db,$row['xml']); @$iso->saveDB($this->db,$row['xml']);
//email to admin //email to admin
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); $mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
@ -2667,7 +2667,7 @@ class Admin_DataController extends Zend_Controller_Action
unset($mailtp); unset($mailtp);
//email to author //email to author
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); $mail->setFrom($this->view->config->service->email,'数据服务组');
$mailtp=new EmailText($this->db,"version-commit-author",array( $mailtp=new EmailText($this->db,"version-commit-author",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],
@ -2721,7 +2721,7 @@ class Admin_DataController extends Zend_Controller_Action
unset($mailtp); unset($mailtp);
//email to author //email to author
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); $mail->setFrom($this->view->config->service->email,'数据服务组');
$mailtp=new EmailText($this->db,"version-commit-author",array( $mailtp=new EmailText($this->db,"version-commit-author",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],
@ -2787,7 +2787,7 @@ class Admin_DataController extends Zend_Controller_Action
//email to admin & author //email to admin & author
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组'); $mail->setFrom($this->view->config->service->email,'数据服务组');
$mailtp=new EmailText($this->db,"metadata-release",array( $mailtp=new EmailText($this->db,"metadata-release",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],