Added filearea import
This commit is contained in:
@@ -90,6 +90,7 @@ class EchoareaImport implements ShouldQueue
|
||||
$o->description = ($this->prefix.' ' ?: '').ucfirst($description);
|
||||
$o->active = TRUE;
|
||||
$o->show = TRUE;
|
||||
$o->security = 9;
|
||||
|
||||
$this->do->echoareas()->save($o);
|
||||
}
|
||||
@@ -97,8 +98,8 @@ class EchoareaImport implements ShouldQueue
|
||||
fclose($fh);
|
||||
|
||||
if ($this->delete_file and $c)
|
||||
unlink($file);
|
||||
unlink($this->file);
|
||||
|
||||
Log::info(sprintf('%s:Updated %d records',self::LOGKEY,$p));
|
||||
Log::info(sprintf('%s:= Updated %d records',self::LOGKEY,$p));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user