ispman/lib/ISPMan ProcessMan.pm,1.24,1.25

Joerg Delker <[email protected]> Mon, 02 Oct 2006 16:50:35 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv418/lib/ISPMan

Modified Files:
	ProcessMan.pm 
Log Message:
fixed bug [ 1566950 ] ispman.commitSession should return an error

Index: ProcessMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ProcessMan.pm,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ProcessMan.pm	28 May 2006 23:44:40 -0000	1.24
+++ ProcessMan.pm	2 Oct 2006 16:50:29 -0000	1.25
@@ -275,10 +275,11 @@
       $self->getEntriesAsHashRef( $self->getSessionBranchDN($session),
         "objectClass=ispmanProcesses" );
 
-    my $processHash;
     for ( keys %$processes ) {
         $self->modifyAttribute( $_, "ispmanStatus", "new" );
     }
+    
+    return scalar(keys %$processes);
 }
 
 sub releaseSession_web {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV