[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1621
Author: gradator
Date: 2010-08-29 20:42:33 +0200 (Sun, 29 Aug 2010)
Log Message:
-----------
shame
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Services/Cron.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/Cron.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Cron.pm 2010-08-29 17:23:43 UTC (rev 1620)
+++ trunk/vhffs-api/src/Vhffs/Services/Cron.pm 2010-08-29 18:42:33 UTC (rev 1621)
@@ -67,7 +67,7 @@
return unless defined $self;
my $dbh = $self->get_db_object();
- return $dbh->do(q{DELETE FROM vhffs_cron WHERE object_id=?}, undef, $self->get_oid());
+ $dbh->do(q{DELETE FROM vhffs_cron WHERE object_id=?}, undef, $self->get_oid()) or return -1;
return -2 if( $self->SUPER::delete < 0 );
return 1;