removing very obsolete izoom stuff
[freeside.git] / FS / bin / freeside-selfservice-server
index c10623c..9df313f 100644 (file)
@@ -108,31 +108,7 @@ while (1) {
       if ( $keepalives && $keepalive_count++ > 10 ) {
         $keepalive_count = 0;
         lock_write;
-
         nstore_fd( { _token => '_keepalive' }, $writer );
-
-#commenting izoom stuff out until we can move it to a branch (or just remove)
-#        foreach my $agent ( qsearch( 'agent', { disabled => '' } ) ) {
-#          my $config = qsearchs( 'conf', { name  => 'selfservice-bulk_ftp_dir',
-#                                           agentnum => $agent->agentnum,
-#                               } )
-#            or next;
-#
-#          my $session =
-#            FS::ClientAPI->dispatch( 'Agent/agent_login',
-#                                     { username => $agent->username,
-#                                       password => $agent->_password,
-#                                     }
-#            );
-#
-#          nstore_fd( { _token     => '_ftp_scan',
-#                       dir        => $config->value,
-#                       session_id => $session->{session_id},
-#                     },
-#                     $writer
-#          );
-#        }
-
         unlock_write;
       }
       next;