X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fnas.pm;h=97b0ea17daca0a3c6464eebeb7edb72978795b3e;hb=b49c1bd5510a5f10b05bffacc6cc8b6a1b2153e8;hp=cb0c1b9013c7b5fb464bc9ba9e362ed198644368;hpb=fb13e429f8499f6eadad09c1452489ca0f4f7031;p=freeside.git diff --git a/FS/FS/nas.pm b/FS/FS/nas.pm index cb0c1b901..97b0ea17d 100644 --- a/FS/FS/nas.pm +++ b/FS/FS/nas.pm @@ -98,7 +98,7 @@ returns the error, otherwise returns false. =item check -Checks all fields to make sure this is a valid example. If there is +Checks all fields to make sure this is a valid NAS. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods. @@ -114,7 +114,9 @@ sub check { || $self->ut_text('nas') || $self->ut_ip('nasip') || $self->ut_domain('nasfqdn') - || $self->ut_numbern('last'); + || $self->ut_numbern('last') + || $self->SUPER::check + ; } =item heartbeat TIMESTAMP @@ -134,12 +136,10 @@ sub heartbeat { =back -=head1 VERSION - -$Id: nas.pm,v 1.5 2001-04-15 13:35:12 ivan Exp $ - =head1 BUGS +heartbeat method uses SQL directly and doesn't update history tables. + =head1 SEE ALSO L, schema.html from the base documentation.