[otrs-cvs] Incident/Kernel/Output/HTML TicketMenuIncident.pm, 1.9, 1.10

CVS commits notifications of OTRS.org cvs-log at otrs.org
Fri Apr 25 10:22:17 GMT 2008


Comments:
Update of /home/cvs/Incident/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv31942/Kernel/Output/HTML

Modified Files:
	TicketMenuIncident.pm 
Log Message:
Simplify code for a better readablity.

Author: tr

Index: TicketMenuIncident.pm
===================================================================
RCS file: /home/cvs/Incident/Kernel/Output/HTML/TicketMenuIncident.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TicketMenuIncident.pm	22 Feb 2008 07:43:45 -0000	1.9
--- TicketMenuIncident.pm	25 Apr 2008 10:22:12 -0000	1.10
***************
*** 41,45 ****
      # check needed stuff
      if ( !$Param{Ticket} ) {
!         $Self->{LogObject}->Log( Priority => 'error', Message => "Need Ticket!" );
          return;
      }
--- 41,45 ----
      # check needed stuff
      if ( !$Param{Ticket} ) {
!         $Self->{LogObject}->Log( Priority => 'error', Message => 'Need Ticket!' );
          return;
      }
***************
*** 92,101 ****
                  $Self->{LayoutObject}->Block(
                      Name => 'Menu',
-                     Data => {},
                  );
                  if ( $Param{Counter} ) {
                      $Self->{LayoutObject}->Block(
                          Name => 'MenuItemSplit',
-                         Data => {},
                      );
                  }
--- 92,99 ----


More information about the cvs-log mailing list