projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
communigate: domain aliases, enabled services, RT#7083
[freeside.git]
/
FS
/
FS
/
nas.pm
diff --git
a/FS/FS/nas.pm
b/FS/FS/nas.pm
index
58c6827
..
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,10
+136,6
@@
sub heartbeat {
=back
=back
-=head1 VERSION
-
-$Id: nas.pm,v 1.6 2002-03-04 12:48:49 ivan Exp $
-
=head1 BUGS
heartbeat method uses SQL directly and doesn't update history tables.
=head1 BUGS
heartbeat method uses SQL directly and doesn't update history tables.