mirror of https://github.com/MISP/MISP
Merge pull request #5607 from JakubOnderka/patch-83
fix: [internal] Remove unused linespull/5614/head
commit
8147358e4c
|
@ -1162,7 +1162,6 @@ class AppController extends Controller
|
|||
|
||||
public function restSearch()
|
||||
{
|
||||
$ordered_url_params = func_get_args();
|
||||
if (empty($this->RestSearch->paramArray[$this->modelClass])) {
|
||||
throw new NotFoundException(__('RestSearch is not implemented (yet) for this scope.'));
|
||||
}
|
||||
|
@ -1185,7 +1184,6 @@ class AppController extends Controller
|
|||
if ($filters === false) {
|
||||
return $exception;
|
||||
}
|
||||
$list = array();
|
||||
$key = empty($filters['key']) ? $filters['returnFormat'] : $filters['key'];
|
||||
$user = $this->_getApiAuthUser($key, $exception);
|
||||
if ($user === false) {
|
||||
|
|
Loading…
Reference in New Issue