mirror of https://github.com/MISP/MISP
Remove useless test
parent
894c7d28a3
commit
50d9178662
|
@ -660,11 +660,6 @@ class Attribute extends AppModel
|
|||
|
||||
public function afterSave($created, $options = array())
|
||||
{
|
||||
//STR
|
||||
$myfile = fopen("/tmp/newfile.txt", "w") or die("Unable to open file!");
|
||||
fwrite($myfile, implode("|",$this->data['Attribute']));
|
||||
fclose($myfile);
|
||||
|
||||
$passedEvent = false;
|
||||
if (isset($options['parentEvent'])) {
|
||||
$passedEvent = $options['parentEvent'];
|
||||
|
|
Loading…
Reference in New Issue