[Rt-commit] rt branch, create-action, updated. 93d179828573e79f8d544e3f49a384f66e8cca9d
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 2 11:06:24 EDT 2009
The branch, create-action has been updated
via 93d179828573e79f8d544e3f49a384f66e8cca9d (commit)
from c8249509159e43f002622450209cce85cfde75d9 (commit)
Summary of changes:
lib/RT/Action/QueueBased.pm | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 93d179828573e79f8d544e3f49a384f66e8cca9d
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Sep 2 11:06:09 2009 -0400
Give QueueBased-actions a queue method
diff --git a/lib/RT/Action/QueueBased.pm b/lib/RT/Action/QueueBased.pm
index 5ea4424..cda299c 100644
--- a/lib/RT/Action/QueueBased.pm
+++ b/lib/RT/Action/QueueBased.pm
@@ -39,6 +39,13 @@ sub arguments {
return $self->{_cached_arguments};
}
+sub queue {
+ my $self = shift;
+ return $self->{_cached_arguments}{queue}{default_value}
+ if $self->{_cached_arguments};
+ return;
+}
+
sub set_queue {
my $self = shift;
my $queue = shift;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list