[Jifty-commit] r5206 - in jifty/trunk: lib/Jifty/Plugin
Jifty commits
jifty-commit at lists.jifty.org
Mon Mar 10 17:11:35 EDT 2008
Author: sartak
Date: Mon Mar 10 17:11:35 2008
New Revision: 5206
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/Attributes.pm
Log:
r52480 at onn: sartak | 2008-03-10 17:10:53 -0400
Run delete_all_attributes _after_ deleting the original record, in case that fails
Modified: jifty/trunk/lib/Jifty/Plugin/Attributes.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Attributes.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Attributes.pm Mon Mar 10 17:11:35 2008
@@ -8,7 +8,7 @@
sub init {
Jifty::DBI::Record->add_trigger(
- name => "before_delete",
+ name => "after_delete",
callback => sub {
my $record = shift;
if ($record->can('delete_all_attributes')) {
More information about the Jifty-commit
mailing list