2 return if $ARGSRef->{'NoRedirect'};
3 if ( defined($RT::Extension::MobileUI::VERSION)
4 and RT::Extension::MobileUI::MobileClient()) {
5 my $id = $ARGSRef->{'id'} || ($TicketObj ? $TicketObj->id : undef);
6 RT::Interface::Web::Redirect(RT->Config->Get('WebURL').'m/ticket/show?id='.$id);