fix could not delete metadata problem

This commit is contained in:
wlx 2014-05-10 05:31:35 +00:00
parent 0743137fea
commit 56680eff56
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class Admin_DataController extends Zend_Controller_Action
$sql="delete from en.metadata where uuid=?";
try {
$this->db->query("delete from en.mdstatus where uuid=?",array($delete));
$this->db->query("delete from en.mdauthor where uuid=?",array($delete));
//$this->db->query("delete from en.mdauthor where uuid=?",array($delete));
$this->db->query($sql,array($delete));
$this->messenger->addMessage('提示信息:您已经成功删除该数据。');
$search=new Search();