[vhffs-dev] [921] Fixes the deletion of the mailbox|forward associated to a user when a user is deleted

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 921
Author:   gradator
Date:     2007-09-13 22:37:24 +0000 (Thu, 13 Sep 2007)

Log Message:
-----------
Fixes the deletion of the mailbox|forward associated to a user when a user is deleted

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/User.pm


Modified: trunk/vhffs-api/src/Vhffs/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/User.pm	2007-09-13 05:33:59 UTC (rev 920)
+++ trunk/vhffs-api/src/Vhffs/User.pm	2007-09-13 22:37:24 UTC (rev 921)
@@ -312,7 +312,7 @@
 		use Vhffs::Services::MailUser;
 		my $mu = init Vhffs::Services::MailUser( $self->{'main'} , $self );
 
-		if( defined $mu  &&  $mu >= 0 )
+		if( defined $mu )
 		{
 			$mu->delbox;
 			$mu->delforward;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/