[vhffs-dev] [471] Vhffs::User::delete no more returns on error.

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


Revision: 471
Author:   beuss
Date:     2007-02-17 11:39:22 +0000 (Sat, 17 Feb 2007)

Log Message:
-----------
Vhffs::User::delete no more returns on error.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/User.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/User.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/User.pm	2007-02-17 11:27:06 UTC (rev 470)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/User.pm	2007-02-17 11:39:22 UTC (rev 471)
@@ -463,9 +463,7 @@
     # User references corresponding object with an ON DELETE cascade foreign key
     # so we don't even need to delete user
     # rows that reference this user will be deleted by foreign keys constraints
-	$self->SUPER::delete;
-
-    return 1;
+	return $self->SUPER::delete;
 }
 
 


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