Added filefix %AREA
This commit is contained in:
@@ -51,6 +51,9 @@ class Rescan extends Command
|
||||
|
||||
$eo = Echoarea::where('name',$this->argument('area'))->sole();
|
||||
|
||||
if ($eo->domain_id !== $ao->zone->domain_id)
|
||||
throw new \Exception(sprintf('Echo area [%s] is not in domain [%s] for FTN [%s]',$eo->name,$ao->zone->domain->name,$ao->ftn));
|
||||
|
||||
if ($this->option('queue'))
|
||||
AreafixRescan::dispatch($ao,$eo,$this->argument('days'))->onQueue($this->option('queuename'));
|
||||
else
|
||||
|
Reference in New Issue
Block a user