[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 0.03-1-gdb3c40e

Shawn Moore sartak at bestpractical.com
Fri Feb 18 16:32:01 EST 2011


The branch, master has been updated
       via  db3c40eb7d184e98c7df35fc31b09bd00a723532 (commit)
      from  73d96b28202914e9f9c8ee4e0d432ff965ae4ed8 (commit)

Summary of changes:
 .../RecordHistory/Mixin/Model/RecordHistory.pm     |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit db3c40eb7d184e98c7df35fc31b09bd00a723532
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Feb 18 16:31:46 2011 -0500

    Steal @_ for configuring recordhistory instead of exports

diff --git a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
index 3680b78..89e994b 100644
--- a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
@@ -11,9 +11,11 @@ our @EXPORT = qw(
 
 sub import {
     my $class = shift;
+    my %args  = @_;
+
     my $caller = caller;
 
-    $class->export_to_level(1, @_);
+    $class->export_to_level(1);
 
     $caller->add_trigger(after_create => sub {
         my $self = shift;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list