[Bps-public-commit] r11813 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Tue Apr 22 10:52:50 EDT 2008


Author: jesse
Date: Tue Apr 22 10:52:47 2008
New Revision: 11813

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Record.pm

Log:
 r29964 at 31b:  jesse | 2008-04-22 15:44:34 +0200
 * Prophet::Record->load now returns false if the record does not exist


Modified: Prophet/trunk/lib/Prophet/Record.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Record.pm	(original)
+++ Prophet/trunk/lib/Prophet/Record.pm	Tue Apr 22 10:52:47 2008
@@ -135,6 +135,7 @@
     my %args = validate( @_, { uuid => 1 } );
     $self->uuid( $args{uuid} );
 
+    return $self->handle->record_exists( uuid => $self->uuid, type => $self->type );
 }
 
 =head2 set_prop { name => $name, value => $value }



More information about the Bps-public-commit mailing list