summaryrefslogtreecommitdiff
path: root/rt/lib/RT/Action/AutoOpen.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-07-10 16:38:28 -0700
committerMark Wells <mark@freeside.biz>2015-07-10 16:38:28 -0700
commit0ed195595b5c7ea404c8848d9d1881ada4214489 (patch)
tree6d6f3fe6e980cd123ff7a648d27fb9eb6b16ab13 /rt/lib/RT/Action/AutoOpen.pm
parentaf05c3dda381122e0a45f72dbc0b4e9492f13fe7 (diff)
parentdf4a68099abfa067014f36f92874fccefdea662e (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/lib/RT/Action/AutoOpen.pm')
-rw-r--r--rt/lib/RT/Action/AutoOpen.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/lib/RT/Action/AutoOpen.pm b/rt/lib/RT/Action/AutoOpen.pm
index 06721b7c4..156c1eea4 100644
--- a/rt/lib/RT/Action/AutoOpen.pm
+++ b/rt/lib/RT/Action/AutoOpen.pm
@@ -46,7 +46,6 @@
#
# END BPS TAGGED BLOCK }}}
-# This Action will open the BASE if a dependent is resolved.
package RT::Action::AutoOpen;
use strict;
@@ -87,7 +86,7 @@ sub Prepare {
# no change if the ticket is in initial status and the message is a mail
# from a requestor
- return 1 if $ticket->QueueObj->Lifecycle->IsInitial($ticket->Status)
+ return 1 if $ticket->LifecycleObj->IsInitial($ticket->Status)
&& $self->TransactionObj->IsInbound;
if ( my $msg = $self->TransactionObj->Message->First ) {