From 944ae41fba584ed3f9a2d0ae69765b71528ac558 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 29 Jul 2023 13:17:59 +1000 Subject: [PATCH] Record some todo's --- app/Classes/FTN/Process/Echomail/Test.php | 1 + app/Classes/FTN/Tic.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/Classes/FTN/Process/Echomail/Test.php b/app/Classes/FTN/Process/Echomail/Test.php index 5bc8804..b7dae62 100644 --- a/app/Classes/FTN/Process/Echomail/Test.php +++ b/app/Classes/FTN/Process/Echomail/Test.php @@ -24,6 +24,7 @@ final class Test extends Process if ((strtolower($msg->user_to) !== 'all') || ! in_array(strtolower($msg->subject),self::testing)) return FALSE; + // @todo Need to limit this to areas defined in config. Log::info(sprintf('%s:- Processing TEST message from (%s) [%s]',self::LOGKEY,$msg->user_from,$msg->fftn)); Notification::route('echomail',$msg->echoarea)->notify(new TestNotification($msg)); diff --git a/app/Classes/FTN/Tic.php b/app/Classes/FTN/Tic.php index 1216c44..fdfb429 100644 --- a/app/Classes/FTN/Tic.php +++ b/app/Classes/FTN/Tic.php @@ -252,6 +252,7 @@ class Tic extends FTNBase $stat = fstat($f); fclose($f); + // @todo Add notifictions back to the system // Validate Size if ($this->fo->size !== ($y=$stat['size'])) throw new \Exception(sprintf('TIC file size [%d] doesnt match file [%s] (%d)',$this->fo->size,$this->fo->fullname,$y));