X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsession.pm;h=615c8ae8b49ecfd8bfce93e0216125635b9eb20d;hp=55bb678a73c357d60e88fcd940a727580c84a86f;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hpb=15f65a0c56cbce6951d9cb4f71119725a2009f79 diff --git a/FS/FS/session.pm b/FS/FS/session.pm index 55bb678a7..615c8ae8b 100644 --- a/FS/FS/session.pm +++ b/FS/FS/session.pm @@ -118,7 +118,6 @@ sub insert { return $error; } - #transactional accuracy not essential; just an indication of data freshness $self->nas_heartbeat($self->getfield('login')); #session-starting callback @@ -179,7 +178,6 @@ sub replace { return $error; } - #transactional accuracy not essential; just an indication of data freshness $self->nas_heartbeat($self->getfield('logout')); #session-ending callback @@ -218,7 +216,7 @@ sub check { return $error if $error; return "Unknown svcnum" unless qsearchs('svc_acct', { 'svcnum' => $self->svcnum } ); - ''; + $self->SUPER::check; } =item nas_heartbeat @@ -247,10 +245,6 @@ sub svc_acct { =back -=head1 VERSION - -$Id: session.pm,v 1.6 2001-04-09 23:05:15 ivan Exp $ - =head1 BUGS Maybe you shouldn't be able to insert a session if there's currently an open