Update mailist to look for deleted FTNs as well
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
Deon George 2024-05-23 20:30:03 +10:00
parent f082bb0ebd
commit 8b00d29db3

View File

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