public function synchronizeAction()
    {
        $sourceId = $this->getSourceId();

        $batch = $this->loader->getTracker()->synchronizeSources($sourceId, $this->currentUser->getUserId());

        $title = sprintf($this->_('Synchronize the %s source.'),
                    $this->db->fetchOne("SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?", $sourceId));
        $this->_helper->batchRunner($batch, $title, $this->accesslog);

        $this->addSynchronizationInformation();
    }
public function synchronizeAction()
    {
        $sourceId = $this->getSourceId();

        $batch = $this->loader->getTracker()->synchronizeSources($sourceId, $this->currentUser->getUserId());

        $title = sprintf($this->_('Synchronize the %s source.'),
                    $this->db->fetchOne("SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?", $sourceId));
        $this->_helper->batchRunner($batch, $title, $this->accesslog);

        $this->addSynchronizationInformation();
    }
public function synchronizeAction ( ) { $ sourceId = $ this -> getSourceId ( ) ; $ batch = $ this -> loader -> getTracker ( ) -> synchronizeSources ( $ sourceId , $ this -> currentUser -> getUserId ( ) ) ; $ title = sprintf ( $ this -> _ ( 'Synchronize the %s source.' ) , $ this -> db -> fetchOne ( "SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?" , $ sourceId ) ) ; $ this -> _helper -> batchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> addSynchronizationInformation ( ) ; }
Synchronize survey status for the surveys in a source
Synchronize survey status for the surveys in a source