fix: [internal] Remove unused function

pull/5625/head
Jakub Onderka 2020-02-13 15:57:58 +01:00 committed by GitHub
parent 385b777656
commit 3770886bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -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