public function synchronizeAllAction()
    {
        $batch = $this->loader->getTracker()->synchronizeSources(null, $this->currentUser->getUserId());
        $batch->minimalStepDurationMs = 3000;

        $title = $this->_('Synchronize all sources.');
        $this->_helper->batchRunner($batch, $title, $this->accesslog);

        $this->html->actionLink(array('action' => 'index'), $this->_('Cancel'), array('class' => 'btn-danger'));

        $this->addSynchronizationInformation();
    }
public function synchronizeAllAction()
    {
        $batch = $this->loader->getTracker()->synchronizeSources(null, $this->currentUser->getUserId());
        $batch->minimalStepDurationMs = 3000;

        $title = $this->_('Synchronize all sources.');
        $this->_helper->batchRunner($batch, $title, $this->accesslog);

        $this->html->actionLink(array('action' => 'index'), $this->_('Cancel'), array('class' => 'btn-danger'));

        $this->addSynchronizationInformation();
    }
public function synchronizeAllAction ( ) { $ batch = $ this -> loader -> getTracker ( ) -> synchronizeSources ( null , $ this -> currentUser -> getUserId ( ) ) ; $ batch -> minimalStepDurationMs = 3000 ; $ title = $ this -> _ ( 'Synchronize all sources.' ) ; $ this -> _helper -> batchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> html -> actionLink ( array ( 'action' => 'index' ) , $ this -> _ ( 'Cancel' ) , array ( 'class' => 'btn-danger' ) ) ; $ this -> addSynchronizationInformation ( ) ; }
Synchronize survey status for the surveys in all sources
Synchronize survey status for the surveys in all sources