remove unused phrase

This commit is contained in:
wlx 2012-05-04 07:39:58 +00:00
parent f9e45b9542
commit 1d1dc3c007
1 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@ class Admin_DataController extends Zend_Controller_Action
function syncAction() function syncAction()
{ {
set_time_limit(0); set_time_limit(0);
$sql="select * from (select count(*) as westdccount from metadata) as t1,(select count(uuid) as gncount from geonetworkmetadata where schemaid='iso19115') as t2,(select count(uuid) as watergncount from watergn where schemaid='iso19115') as t3"; $sql="select * from (select count(*) as westdccount from metadata) as t1,(select count(uuid) as gncount from geonetworkmetadata where schemaid='iso19115') as t2";
$this->db->setFetchMode(Zend_Db::FETCH_OBJ); $this->db->setFetchMode(Zend_Db::FETCH_OBJ);
$this->view->mdcount=$this->db->fetchRow($sql); $this->view->mdcount=$this->db->fetchRow($sql);
$source=$this->_request->getParam('source'); $source=$this->_request->getParam('source');
@ -31,8 +31,6 @@ class Admin_DataController extends Zend_Controller_Action
$list=$this->_request->getParam('list'); $list=$this->_request->getParam('list');
$adminuser=$this->_request->getParam('adminuser'); $adminuser=$this->_request->getParam('adminuser');
$uuid=trim($this->_request->getParam('uuid')); $uuid=trim($this->_request->getParam('uuid'));
if ($this->_request->isPost()) $uuid=$this->_request->getPost('uuid');
//$uuid=$this->_request->getParam('uuid');
if ($source=="geonetwork" && empty($uuid) ) { if ($source=="geonetwork" && empty($uuid) ) {
//从geonetwork向WESTDC同步 //从geonetwork向WESTDC同步
$sql="select uuid,data,source from geonetworkmetadata where schemaid='iso19115'"; $sql="select uuid,data,source from geonetworkmetadata where schemaid='iso19115'";