Remove useless test

pull/5617/head
Sebastien Tricaud 2020-02-11 00:40:25 -08:00
parent 894c7d28a3
commit 50d9178662
1 changed files with 0 additions and 5 deletions

View File

@ -660,11 +660,6 @@ class Attribute extends AppModel
public function afterSave($created, $options = array()) 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; $passedEvent = false;
if (isset($options['parentEvent'])) { if (isset($options['parentEvent'])) {
$passedEvent = $options['parentEvent']; $passedEvent = $options['parentEvent'];