Merge pull request #5625 from JakubOnderka/patch-86

fix: [internal] Remove unused function
pull/5628/head
Andras Iklody 2020-02-13 16:07:12 +01:00 committed by GitHub
commit a312296403
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