CVS: ispman/bin ispman.deleteSession,1.3,1.4

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv2205

Modified Files:
	ispman.deleteSession 
Log Message:
allow multiple sessions to be deleted

Index: ispman.deleteSession
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.deleteSession,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ispman.deleteSession	12 Jun 2003 01:38:44 -0000	1.3
--- ispman.deleteSession	1 Oct 2003 15:13:08 -0000	1.4
***************
*** 8,16 ****
  exit unless @ARGV;
  
! my $session=shift @ARGV;
! my $dn="ispmanSession=$session, ou=processes, $ispman->{'Config'}{'ldapBaseDN'}";
! print "Deleting tree $dn\n";
  
- $ispman->delTree($dn);
  
  
--- 8,18 ----
  exit unless @ARGV;
  
! for $session(@ARGV){
! 	my $dn="ispmanSession=$session, ou=processes, $ispman->{'Config'}{'ldapBaseDN'}";
! 	print "Deleting tree $dn\n";
! 	$ispman->delTree($dn);
! 
! }
  
  
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.