From: Aaron Trevena Date: Fri, 3 Aug 2007 14:21:44 +0000 (+0000) Subject: do_delete action now has exported attribute in ::Model::CDBI::Base X-Git-Tag: 2.12+2.121~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=commitdiff_plain;h=d4f0c56a54a189cb473bf46548d9ddef7ca4b0bd do_delete action now has exported attribute in ::Model::CDBI::Base git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@577 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/Changes b/Changes index c884209..61e9c04 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,7 @@ For information about current developments and future releases, see: Bug Fixes : Apache::Request is fetched with a new object instead of instance if request options are provided additional, request_options and view_options attributes of Maypole::Config are initialised with hashref + do_delete action now has exported attribute in ::Model::CDBI::Base 2.12 22 June 2007 diff --git a/lib/Maypole/Model/CDBI/Base.pm b/lib/Maypole/Model/CDBI/Base.pm index d933c5b..ec88942 100644 --- a/lib/Maypole/Model/CDBI/Base.pm +++ b/lib/Maypole/Model/CDBI/Base.pm @@ -183,8 +183,7 @@ sub delete : Exported { } } - -sub do_delete { +sub do_delete : Exported { my ( $self, $r ) = @_; # FIXME: handle fatal error with exception $_->SUPER::delete for @{ $r->objects || [] };