Record some todo's

This commit is contained in:
Deon George 2023-07-29 13:17:59 +10:00
parent cd140971e2
commit 944ae41fba
2 changed files with 2 additions and 0 deletions

View File

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

View File

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