[vhffs-dev] [2095] fixed user deletion

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


Revision: 2095
Author:   gradator
Date:     2012-03-02 22:31:09 +0100 (Fri, 02 Mar 2012)
Log Message:
-----------
fixed user deletion

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

Modified: trunk/vhffs-api/src/Vhffs/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/User.pm	2012-03-02 21:25:02 UTC (rev 2094)
+++ trunk/vhffs-api/src/Vhffs/User.pm	2012-03-02 21:31:09 UTC (rev 2095)
@@ -383,7 +383,7 @@
 
 	$self = shift;
 
-	unless( $self->{'group'}->delete ) {
+	unless( $self->get_group->delete ) {
 		# TODO: set Vhffs::Constants::DELETION_ERROR
 		return undef;
 	}


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