public function removeDuplicates() {
		$this->request->allowMethod('post');

		$this->DatabaseLogs->removeDuplicates((bool)$this->request->getQuery('strict'));

		$this->Flash->success(__('Duplicates have been removed.'));
		return $this->redirect(['action' => 'index']);
	}
public function removeDuplicates() {
		$this->request->allowMethod('post');

		$this->DatabaseLogs->removeDuplicates((bool)$this->request->getQuery('strict'));

		$this->Flash->success(__('Duplicates have been removed.'));
		return $this->redirect(['action' => 'index']);
	}
public function removeDuplicates ( ) { $ this -> request -> allowMethod ( 'post' ) ; $ this -> DatabaseLogs -> removeDuplicates ( ( bool ) $ this -> request -> getQuery ( 'strict' ) ) ; $ this -> Flash -> success ( __ ( 'Duplicates have been removed.' ) ) ; return $ this -> redirect ( [ 'action' => 'index' ] ) ; }
Remove duplicates action

@return \Cake\Http\Response|null
Remove duplicates action