[Bps-public-commit] App-Changeloggr branch, master, updated. 056a3da109b67b4d25318d0afbad04851bf9bfc1

Alex M Vandiver alexmv at bestpractical.com
Mon Mar 30 17:39:47 EDT 2009


The branch, master has been updated
       via  056a3da109b67b4d25318d0afbad04851bf9bfc1 (commit)
      from  2a5ee224f1556b990ecc87ca1de4d29b5fe8170f (commit)

Summary of changes:
 lib/App/Changeloggr/Action/CreateVote.pm      |    2 --
 lib/App/Changeloggr/Action/DeleteChangelog.pm |    2 --
 lib/App/Changeloggr/Action/UpdateChangelog.pm |    2 --
 3 files changed, 0 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 056a3da109b67b4d25318d0afbad04851bf9bfc1
Author: Alex Vandiver <alexmv at mit.edu>
Date:   Mon Mar 30 17:39:31 2009 -0400

    Jifty now has more DRY-ness

diff --git a/lib/App/Changeloggr/Action/CreateVote.pm b/lib/App/Changeloggr/Action/CreateVote.pm
index 12cbd69..4c8ea68 100644
--- a/lib/App/Changeloggr/Action/CreateVote.pm
+++ b/lib/App/Changeloggr/Action/CreateVote.pm
@@ -3,8 +3,6 @@ use strict;
 use warnings;
 use base 'Jifty::Action::Record::Create';
 
-sub record_class { 'App::Changeloggr::Model::Vote' }
-
 sub report_success { shift->result->message(_("Thanks for voting!")) }
 
 1;
diff --git a/lib/App/Changeloggr/Action/DeleteChangelog.pm b/lib/App/Changeloggr/Action/DeleteChangelog.pm
index 4138563..4abdade 100644
--- a/lib/App/Changeloggr/Action/DeleteChangelog.pm
+++ b/lib/App/Changeloggr/Action/DeleteChangelog.pm
@@ -3,8 +3,6 @@ use strict;
 use warnings;
 use base 'Jifty::Action::Record::Delete';
 
-sub record_class { 'App::Changeloggr::Model::Changelog' }
-
 sub validate_admin_token {
     my $self        = shift;
     my $admin_token = shift;
diff --git a/lib/App/Changeloggr/Action/UpdateChangelog.pm b/lib/App/Changeloggr/Action/UpdateChangelog.pm
index 5036031..45db386 100644
--- a/lib/App/Changeloggr/Action/UpdateChangelog.pm
+++ b/lib/App/Changeloggr/Action/UpdateChangelog.pm
@@ -3,8 +3,6 @@ use strict;
 use warnings;
 use base 'Jifty::Action::Record::Update';
 
-sub record_class { 'App::Changeloggr::Model::Changelog' }
-
 sub validate_admin_token {
     my $self        = shift;
     my $admin_token = shift;

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



More information about the Bps-public-commit mailing list