ispman/lib/ISPMan LDAP.pm,1.82,1.83

Joerg Delker <[email protected]> Mon, 29 Dec 2008 16:19:54 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30651/lib/ISPMan

Modified Files:
	LDAP.pm 
Log Message:
beautifying some debug output

Index: LDAP.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/LDAP.pm,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- LDAP.pm	16 Jun 2007 14:28:35 -0000	1.82
+++ LDAP.pm	29 Dec 2008 16:19:51 -0000	1.83
@@ -517,14 +517,14 @@
             $data->{$_} = $self->lat2utf( $data->{$_} );
             if ( $entry->exists($_) ) {
                 if ( $self->{'Config'}->{'debug'} == 3 ) {
-                    print "Entry existed. Replacing $_ with ", $data->{$_},
+                    print "Entry exists. Replacing $_ with ", $data->{$_},
                       "<br>\n";
                 }
                 $entry->replace( $_, $data->{$_} ) && $changed++;
             }
             else {
                 if ( $self->{'Config'}->{'debug'} == 3 ) {
-                    print "Entry Did not existed. Adding $_ with ", $data->{$_},
+                    print "Entry does not exist. Adding $_ with ", $data->{$_},
                       "<br>\n";
                 }
                 $entry->add( $_, $data->{$_} ) && $changed++;
@@ -533,7 +533,7 @@
         else {
             if ( $entry->exists($_) ) {
                 if ( $self->{'Config'}->{'debug'} == 3 ) {
-                    print "Entry existed for $_ : Deleting it. <br>\n";
+                    print "Entry exists for $_ : Deleting it. <br>\n";
                 }
                 $entry->delete($_) && $changed++;
             }


------------------------------------------------------------------------------