Change DXUser->get* to DXUser::get*
[spider.git] / cmd / show / isolate.pl
index c874e8a8f930f46ef16e818da4de018238dea7af..daa77f42eb01be26fe65c8d454aaa01025d77167 100644 (file)
@@ -5,7 +5,7 @@
 #
 # Copyright (c) 2000 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -15,10 +15,10 @@ my @out;
 
 use DB_File;
 
-my ($action, $count, $key, $data);
-for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) {
-       if ($data =~ m{isolate =>}) {
-               my $u = DXUser->get_current($key);
+my ($action, $count, $key, $data) = (0,0,0,0);
+for ($action = DXUser::R_FIRST, $count=0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) {
+       if ($data =~ m{isolate}) {
+               my $u = DXUser::get_current($key);
                if ($u && $u->isolate) {
                        push @out, $key;
                        ++$count;