[vhffs-dev] [2045] normalised all delete sub |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 2045
Author: gradator
Date: 2012-02-24 22:51:52 +0100 (Fri, 24 Feb 2012)
Log Message:
-----------
normalised all delete sub
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-02-24 21:09:04 UTC (rev 2044)
+++ trunk/vhffs-api/src/Vhffs/User.pm 2012-02-24 21:51:52 UTC (rev 2045)
@@ -383,9 +383,9 @@
$self = shift;
- if( $self->{'group'}->delete < 0 ) {
- # TODO: set Vhffs::Constants::DELETE_ERROR or something
- return -2;
+ unless( $self->{'group'}->delete ) {
+ # TODO: set Vhffs::Constants::DELETION_ERROR
+ return undef;
}
# delete mail user if mail_user is enabled
- Messages sorted by: [ date | thread ]
- Prev by Date:
[vhffs-dev] [2044] finished bazaar bots reworking, improved Vhffs::Object:: set_status so that we don' t set and add an history line for the same status update twice (or more), renamed bazaar_public to bazaar_modify
- Next by Date:
[vhffs-dev] [2046] merged vhffs-robots/src/bazaar_* to vhffs-robots/src/bazaar.pl, merged vhffs-robots/src/cvs_* to vhffs-robots/src/cvs.pl, moved all code to Vhffs::Robots, improved CVS viewvc configuration generation efficiency
- Previous by thread:
[vhffs-dev] [2044] finished bazaar bots reworking, improved Vhffs::Object:: set_status so that we don' t set and add an history line for the same status update twice (or more), renamed bazaar_public to bazaar_modify
- Next by thread:
[vhffs-dev] [2046] merged vhffs-robots/src/bazaar_* to vhffs-robots/src/bazaar.pl, merged vhffs-robots/src/cvs_* to vhffs-robots/src/cvs.pl, moved all code to Vhffs::Robots, improved CVS viewvc configuration generation efficiency