[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Modules AgentTicketZoom.pm, 1.39, 1.40

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMIncidentProblemManagement/Kernel/Modules
In directory lancelot:/tmp/cvs-serv15584/Kernel/Modules

Modified Files:
	AgentTicketZoom.pm 
Log Message:
Updated file to the latest framework version.

Author: ub

Index: AgentTicketZoom.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Modules/AgentTicketZoom.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -2 -u -d -r1.39 -r1.40
--- AgentTicketZoom.pm	2 Jan 2013 14:18:40 -0000	1.39
+++ AgentTicketZoom.pm	15 Jan 2013 18:03:58 -0000	1.40
@@ -4,5 +4,5 @@
 # --
 # $Id$
-# $OldId: AgentTicketZoom.pm,v 1.195 2013/01/02 13:02:29 mn Exp $
+# $OldId: AgentTicketZoom.pm,v 1.197 2013/01/11 23:50:23 cr Exp $
 # --
 # This software comes with ABSOLUTELY NO WARRANTY. For details, see
@@ -627,5 +627,4 @@
     if ($IsProcessTicket) {
         $Param{WidgetTitle} = $Self->{DisplaySettings}->{ProcessDisplay}->{WidgetTitle};
-        $Param{Hook} = $Self->{DisplaySettings}->{ProcessDisplay}->{Hook} || 'Process#';
     }
 
@@ -2143,104 +2142,4 @@
     }
 
-    # check if phone link (outbound) should be shown
-    if (
-        $Self->{ConfigObject}->Get('Frontend::Module')->{AgentTicketPhoneOutbound}
-        && (
-            !defined $AclAction{AgentTicketPhoneOutbound}
-            || $AclAction{AgentTicketPhoneOutbound}
-        )
-        )
-    {
-        my $Access = 1;
-        my $Config = $Self->{ConfigObject}->Get('Ticket::Frontend::AgentTicketPhoneOutbound');
-        if ( $Config->{Permission} ) {
-            my $OK = $Self->{TicketObject}->TicketPermission(
-                Type     => $Config->{Permission},
-                TicketID => $Ticket{TicketID},
-                UserID   => $Self->{UserID},
-                LogNo    => 1,
-            );
-            if ( !$OK ) {
-                $Access = 0;
-            }
-        }
-        if ( $Config->{RequiredLock} ) {
-            my $Locked = $Self->{TicketObject}->TicketLockGet(
-                TicketID => $Ticket{TicketID}
-            );
-            if ($Locked) {
-                my $AccessOk = $Self->{TicketObject}->OwnerCheck(
-                    TicketID => $Ticket{TicketID},
-                    OwnerID  => $Self->{UserID},
-                );
-                if ( !$AccessOk ) {
-                    $Access = 0;
-                }
-            }
-        }
-        if ($Access) {
-            $Self->{LayoutObject}->Block(
-                Name => 'ArticleMenu',
-                Data => {
-                    %Ticket, %Article, %AclAction,
-                    Description => 'Phone Call Outbound',
-                    Name        => 'Phone Call Outbound',
-                    Class       => 'AsPopup PopupType_TicketAction',
-                    Link        => 'Action=AgentTicketPhoneOutbound;TicketID=$Data{"TicketID"}'
-                },
-            );
-        }
-    }
-
-    # check if phone link (inbound) should be shown
-    if (
-        $Self->{ConfigObject}->Get('Frontend::Module')->{AgentTicketPhoneInbound}
-        && (
-            !defined $AclAction{AgentTicketPhoneInbound}
-            || $AclAction{AgentTicketPhoneInbound}
-        )
-        )
-    {
-        my $Access = 1;
-        my $Config = $Self->{ConfigObject}->Get('Ticket::Frontend::AgentTicketPhoneInbound');
-        if ( $Config->{Permission} ) {
-            my $OK = $Self->{TicketObject}->TicketPermission(
-                Type     => $Config->{Permission},
-                TicketID => $Ticket{TicketID},
-                UserID   => $Self->{UserID},
-                LogNo    => 1,
-            );
-            if ( !$OK ) {
-                $Access = 0;
-            }
-        }
-        if ( $Config->{RequiredLock} ) {
-            my $Locked = $Self->{TicketObject}->TicketLockGet(
-                TicketID => $Ticket{TicketID}
-            );
-            if ($Locked) {
-                my $AccessOk = $Self->{TicketObject}->OwnerCheck(
-                    TicketID => $Ticket{TicketID},
-                    OwnerID  => $Self->{UserID},
-                );
-                if ( !$AccessOk ) {
-                    $Access = 0;
-                }
-            }
-        }
-        if ($Access) {
-            $Self->{LayoutObject}->Block(
-                Name => 'ArticleMenu',
-                Data => {
-                    %Ticket, %Article, %AclAction,
-                    Description => 'Phone Call Inbound',
-                    Name        => 'Phone Call Inbound',
-                    Class       => 'AsPopup PopupType_TicketAction',
-                    Link        => 'Action=AgentTicketPhoneInbound;TicketID=$Data{"TicketID"}'
-                },
-            );
-        }
-    }
-
     # check if split link should be shown
     if (
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.