[Rt-commit] rt branch, admin_ui, updated. e10b26003f5edb6fef61ff13fea181d46bcdc889

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jan 5 03:07:51 EST 2010


The branch, admin_ui has been updated
       via  e10b26003f5edb6fef61ff13fea181d46bcdc889 (commit)
       via  847baff710141bf0ddbb83ab93b789dab57d6344 (commit)
      from  fa5f127a23cb6ffb943bf4dcc84a3fe745a70f8f (commit)

Summary of changes:
 lib/RT/Action/CreateQueue.pm |    4 +---
 lib/RT/Action/UpdateQueue.pm |    2 --
 2 files changed, 1 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 847baff710141bf0ddbb83ab93b789dab57d6344
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jan 5 16:06:41 2010 +0800

    clean

diff --git a/lib/RT/Action/UpdateQueue.pm b/lib/RT/Action/UpdateQueue.pm
index c0fc704..827fe93 100644
--- a/lib/RT/Action/UpdateQueue.pm
+++ b/lib/RT/Action/UpdateQueue.pm
@@ -19,8 +19,6 @@ use Jifty::Action schema {
 sub arguments {
     my $self = shift;
     if ( !$self->{_cached_arguments} ) {
-
-        # The blank slate is the parameters provided using Jifty::Param::Schema
         $self->{_cached_arguments} = $self->SUPER::arguments;
         my $queue = RT::Model::Queue->new;
         my @args = $self->_setup_custom_fields( cfs => $queue->custom_fields );

commit e10b26003f5edb6fef61ff13fea181d46bcdc889
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jan 5 16:07:28 2010 +0800

    clean

diff --git a/lib/RT/Action/CreateQueue.pm b/lib/RT/Action/CreateQueue.pm
index c4a3c0a..92c1df9 100644
--- a/lib/RT/Action/CreateQueue.pm
+++ b/lib/RT/Action/CreateQueue.pm
@@ -19,9 +19,7 @@ use Jifty::Action schema {
 sub arguments {
     my $self = shift;
     if ( !$self->{_cached_arguments} ) {
-
-        # The blank slate is the parameters provided using Jifty::Param::Schema
-        $self->{_cached_arguments} = \%{ $self->PARAMS };
+        $self->{_cached_arguments} = $self->SUPER::arguments;
         my $queue = RT::Model::Queue->new;
         my @args = $self->_setup_custom_fields( cfs => $queue->custom_fields );
         for my $args (@args) {

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


More information about the Rt-commit mailing list