Update mailist to look for deleted FTNs as well
This commit is contained in:
parent
f082bb0ebd
commit
8b00d29db3
@ -30,7 +30,13 @@ class MailList extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$ao = Address::findFTN($this->argument('ftn'));
|
||||
$ao = Address::findFTN($this->argument('ftn'),TRUE);
|
||||
|
||||
if (! $ao) {
|
||||
$this->error(sprintf('%s not found?',$this->argument('ftn')));
|
||||
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
||||
$this->info('Netmail');
|
||||
$this->table([
|
||||
@ -68,6 +74,6 @@ class MailList extends Command
|
||||
];
|
||||
}));
|
||||
|
||||
return Command::SUCCESS;
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user