| 
                                
                                    @@ 291-297 (lines=7) @@
                                 | 
                            
                                                            
                                    | 288 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 289 | 
                                     | 
                                         * Receives ajax calls for continuing a job  | 
                                
                                                            
                                    | 290 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 291 | 
                                     | 
                                        public function batch_continue()  | 
                                
                                                            
                                    | 292 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 293 | 
                                     | 
                                            $job_id = sanitize_text_field($_REQUEST['job_id']);  | 
                                
                                                            
                                    | 294 | 
                                     | 
                                            $batch_runner = $this->getLoader()->getShared('EventEspressoBatchRequest\BatchRequestProcessor'); | 
                                
                                                            
                                    | 295 | 
                                     | 
                                            $response_obj = $batch_runner->continue_job($job_id);  | 
                                
                                                            
                                    | 296 | 
                                     | 
                                            $this->_return_json($response_obj->to_array());  | 
                                
                                                            
                                    | 297 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 298 | 
                                     | 
                                     | 
                                
                                                            
                                    | 299 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 300 | 
                                     | 
                                         * Receives the ajax call to cleanup a job  | 
                                
                                                                                
                                 | 
                                
                                    @@ 304-310 (lines=7) @@
                                 | 
                            
                                                            
                                    | 301 | 
                                     | 
                                         *  | 
                                
                                                            
                                    | 302 | 
                                     | 
                                         * @return type  | 
                                
                                                            
                                    | 303 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 304 | 
                                     | 
                                        public function batch_cleanup()  | 
                                
                                                            
                                    | 305 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 306 | 
                                     | 
                                            $job_id = sanitize_text_field($_REQUEST['job_id']);  | 
                                
                                                            
                                    | 307 | 
                                     | 
                                            $batch_runner = $this->getLoader()->getShared('EventEspressoBatchRequest\BatchRequestProcessor'); | 
                                
                                                            
                                    | 308 | 
                                     | 
                                            $response_obj = $batch_runner->cleanup_job($job_id);  | 
                                
                                                            
                                    | 309 | 
                                     | 
                                            $this->_return_json($response_obj->to_array());  | 
                                
                                                            
                                    | 310 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 311 | 
                                     | 
                                     | 
                                
                                                            
                                    | 312 | 
                                     | 
                                     | 
                                
                                                            
                                    | 313 | 
                                     | 
                                        /**  |