Renamed import nodelist job, dont display address id's to unauthed users, removed debugging from importnodelist.
This commit is contained in:
@@ -14,7 +14,7 @@ use App\Http\Controllers\DomainController;
|
||||
use App\Models\{Address,Domain,Nodelist,System,Zone};
|
||||
use App\Traits\Import as ImportTrait;
|
||||
|
||||
class ImportNodelist implements ShouldQueue
|
||||
class NodelistImport implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
use ImportTrait;
|
||||
@@ -238,10 +238,8 @@ class ImportNodelist implements ShouldQueue
|
||||
|
||||
$ao->zone_id = $zo->id;
|
||||
|
||||
if ($ao->getDirty()) {
|
||||
dd($ao);
|
||||
if ($ao->getDirty())
|
||||
$p++;
|
||||
}
|
||||
|
||||
try {
|
||||
$so->addresses()->save($ao);
|
Reference in New Issue
Block a user