[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 0.04-5-ga759e67

Shawn Moore sartak at bestpractical.com
Thu Feb 24 17:40:35 EST 2011


The branch, master has been updated
       via  a759e672d14d92da763bb9488a07b7a4204cbab7 (commit)
      from  448c74d12781d58791630b66f200af2360571d5f (commit)

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

- Log -----------------------------------------------------------------
commit a759e672d14d92da763bb9488a07b7a4204cbab7
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Feb 24 17:40:32 2011 -0500

    Missed a spot

diff --git a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
index bd15f2d..7145b3b 100644
--- a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
@@ -88,6 +88,7 @@ sub import {
 
             my $change = Jifty::Plugin::RecordHistory::Model::Change->new(current_user => Jifty::CurrentUser->superuser);
             $change->create(
+                created_by   => $self->current_user,
                 record_class => ref($self),
                 record_id    => $self->id,
                 type         => 'delete',

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



More information about the Bps-public-commit mailing list