[Jifty-commit] r1239 - in Jifty-DBI/trunk: lib/Jifty/DBI
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Jun 10 15:13:47 EDT 2006
Author: seanmil
Date: Sat Jun 10 15:13:44 2006
New Revision: 1239
Modified:
Jifty-DBI/trunk/ (props changed)
Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
Log:
r445 at pc102: sean | 2006-06-10 15:13:37 -0400
* Pod cleanup
Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm (original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm Sat Jun 10 15:13:44 2006
@@ -919,9 +919,12 @@
=item before_delete
-This method is called before the record deletion, if it exists. It
-returns a boolean value. If the return value is false, it aborts the
-create and returns the return value from the hook.
+This method is called before the record deletion, if it exists. On
+failure it returns a L<Class::ReturnValue> with the error. On success
+it returns 1.
+
+If this method returns an error, it causes the delete to abort and return
+the return value from this hook.
=item after_delete
More information about the Jifty-commit
mailing list