projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move from otaker to proper usernum FK
[freeside.git]
/
FS
/
FS
/
nas.pm
diff --git
a/FS/FS/nas.pm
b/FS/FS/nas.pm
index
cb0c1b9
..
97b0ea1
100644
(file)
--- a/
FS/FS/nas.pm
+++ b/
FS/FS/nas.pm
@@
-98,7
+98,7
@@
returns the error, otherwise returns false.
=item check
=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.
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_text('nas')
|| $self->ut_ip('nasip')
|| $self->ut_domain('nasfqdn')
- || $self->ut_numbern('last');
+ || $self->ut_numbern('last')
+ || $self->SUPER::check
+ ;
}
=item heartbeat TIMESTAMP
}
=item heartbeat TIMESTAMP
@@
-134,12
+136,10
@@
sub heartbeat {
=back
=back
-=head1 VERSION
-
-$Id: nas.pm,v 1.5 2001-04-15 13:35:12 ivan Exp $
-
=head1 BUGS
=head1 BUGS
+heartbeat method uses SQL directly and doesn't update history tables.
+
=head1 SEE ALSO
L<FS::Record>, schema.html from the base documentation.
=head1 SEE ALSO
L<FS::Record>, schema.html from the base documentation.