mirror of https://github.com/MISP/MISP
fix: [internal] Remove unused function
parent
385b777656
commit
3770886bb8
|
@ -3244,17 +3244,6 @@ class EventsController extends AppController
|
|||
return $results;
|
||||
}
|
||||
|
||||
private function __strposarray($string, $array)
|
||||
{
|
||||
$toReturn = false;
|
||||
foreach ($array as $item) {
|
||||
if (strpos($string, $item)) {
|
||||
$toReturn = true;
|
||||
}
|
||||
}
|
||||
return $toReturn;
|
||||
}
|
||||
|
||||
public function downloadOpenIOCEvent($key, $eventid, $enforceWarninglist = false)
|
||||
{
|
||||
// return a downloadable text file called misp.openIOC.<eventId>.ioc for individual events
|
||||
|
|
Loading…
Reference in New Issue