From b90f8cdac9371c219a72dda16f8deecc7c44fc28 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 Dec 2000 20:25:20 +0000 Subject: [PATCH] session monitor updates --- FS/FS/Record.pm | 19 +++++++--- FS/FS/nas.pm | 24 ++++++++++--- FS/FS/port.pm | 27 ++++++++++---- FS/FS/session.pm | 28 ++++++++++++--- TODO | 4 ++- fs_sesmon/FS-SessionClient/MANIFEST | 4 +-- fs_sesmon/FS-SessionClient/Makefile.PL | 2 +- fs_sesmon/FS-SessionClient/SessionClient.pm | 22 ++++++------ fs_sesmon/FS-SessionClient/bin/freeside-login | 2 +- .../bin/{freeside-logoff => freeside-logout} | 7 ++-- fs_sesmon/FS-SessionClient/fs_sessiond | 10 +++--- fs_sesmon/FS-SessionClient/test.pl | 3 +- fs_sesmon/fs_session_server | 42 ++++++++++++---------- htdocs/browse/nas.cgi | 25 +++++++++++-- htdocs/view/svc_acct.cgi | 9 +++-- 15 files changed, 159 insertions(+), 69 deletions(-) rename fs_sesmon/FS-SessionClient/bin/{freeside-logoff => freeside-logout} (82%) diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 59472c898..18541d2db 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -149,22 +149,32 @@ sub create { } } -=item qsearch TABLE, HASHREF +=item qsearch TABLE, HASHREF, SELECT, EXTRA_SQL Searches the database for all records matching (at least) the key/value pairs in HASHREF. Returns all the records found as `FS::TABLE' objects if that module is loaded (i.e. via `use FS::cust_main;'), otherwise returns FS::Record objects. +###oops, argh, FS::Record::new only lets us create database fields. +#Normal behaviour if SELECT is not specified is `*', as in +#C