Added filearea import

This commit is contained in:
2023-09-14 23:42:25 +10:00
parent ec5c28a03e
commit 2f878b6e64
3 changed files with 148 additions and 2 deletions

View File

@@ -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));
}
}