[otrs-cvs] otrs/Kernel/Output/HTML Layout.pm,1.77,1.78
cvs-log at otrs.org
cvs-log at otrs.org
Wed Apr 2 04:48:38 GMT 2008
- Previous message: [otrs-cvs] otrs CHANGES,1.465.2.107,1.465.2.108
- Next message: [otrs-cvs] otrs/Kernel/System Auth.pm, 1.26, 1.27 AuthSession.pm,
1.33, 1.34 CSV.pm, 1.16, 1.17 Cache.pm, 1.7, 1.8 CheckItem.pm,
1.26, 1.27 Config.pm, 1.74, 1.75 CustomerAuth.pm, 1.15,
1.16 CustomerCompany.pm, 1.9, 1.10 CustomerGroup.pm, 1.15,
1.16 CustomerUser.pm, 1.38, 1.39 Email.pm, 1.36,
1.37 EmailParser.pm, 1.60, 1.61 Encode.pm, 1.25,
1.26 GenericAgent.pm, 1.34, 1.35 Group.pm, 1.54,
1.55 LinkObject.pm, 1.20, 1.21 Lock.pm, 1.17,
1.18 MailAccount.pm, 1.1, 1.2 PID.pm, 1.10, 1.11 Package.pm,
1.73, 1.74 PostMaster.pm, 1.69, 1.70 Priority.pm, 1.11,
1.12 Queue.pm, 1.84, 1.85 SLA.pm, 1.19, 1.20 Salutation.pm,
1.3, 1.4 SearchProfile.pm, 1.8, 1.9 Service.pm, 1.23,
1.24 Signature.pm, 1.3, 1.4 State.pm, 1.25, 1.26 Stats.pm,
1.40, 1.41 SystemAddress.pm, 1.16, 1.17 Ticket.pm, 1.304,
1.305 Type.pm, 1.4, 1.5 User.pm, 1.75, 1.76 Valid.pm, 1.5,
1.6 XML.pm, 1.69, 1.70
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv5534/Kernel/Output/HTML
Modified Files:
Layout.pm
Log Message:
Simplify the output function.
Author: tr
Index: Layout.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Layout.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** Layout.pm 18 Mar 2008 16:19:29 -0000 1.77
--- Layout.pm 2 Apr 2008 04:48:33 -0000 1.78
***************
*** 498,512 ****
# fill init Env
! if ( !$Self->{EnvRef} ) {
! # build OTRS env
! %{$Self->{EnvRef}} = %ENV;
! # all $Self->{*}
! for ( keys %{$Self} ) {
! if ( defined( $Self->{$_} ) && !ref( $Self->{$_} ) ) {
! $Self->{EnvRef}->{$_} = $Self->{$_};
! }
}
}
--- 498,516 ----
# fill init Env
! %{$Self->{EnvRef}} = %ENV;
! # all $Self->{*}
! for ( keys %{$Self} ) {
! if ( defined( $Self->{$_} ) && !ref( $Self->{$_} ) ) {
! $Self->{EnvRef}->{$_} = $Self->{$_};
! }
! }
! # add new env
! if ( $Self->{EnvNewRef} ) {
! for ( %{ $Self->{EnvNewRef} } ) {
! $Self->{EnvRef}->{$_} = $Self->{EnvNewRef}->{$_};
}
+ undef $Self->{EnvNewRef};
}
***************
*** 573,590 ****
}
- # get %Env from $Self->{EnvRef}
- my $EnvRef = $Self->{EnvRef};
-
- # add new env
- if ( $Self->{EnvNewRef} ) {
- for ( %{ $Self->{EnvNewRef} } ) {
- $EnvRef->{$_} = $Self->{EnvNewRef}->{$_};
- }
- undef $Self->{EnvNewRef};
- }
-
# create refs
my $GlobalRef = {
! Env => $EnvRef,
Data => $Param{Data},
Config => $Self->{ConfigObject},
--- 577,583 ----
}
# create refs
my $GlobalRef = {
! Env => $Self->{EnvRef},
Data => $Param{Data},
Config => $Self->{ConfigObject},
***************
*** 1032,1038 ****
}
- # save %Env
- $Self->{EnvRef} = $EnvRef;
-
# custom post filters
if ( $Self->{FilterElementPost} ) {
--- 1025,1028 ----
- Previous message: [otrs-cvs] otrs CHANGES,1.465.2.107,1.465.2.108
- Next message: [otrs-cvs] otrs/Kernel/System Auth.pm, 1.26, 1.27 AuthSession.pm,
1.33, 1.34 CSV.pm, 1.16, 1.17 Cache.pm, 1.7, 1.8 CheckItem.pm,
1.26, 1.27 Config.pm, 1.74, 1.75 CustomerAuth.pm, 1.15,
1.16 CustomerCompany.pm, 1.9, 1.10 CustomerGroup.pm, 1.15,
1.16 CustomerUser.pm, 1.38, 1.39 Email.pm, 1.36,
1.37 EmailParser.pm, 1.60, 1.61 Encode.pm, 1.25,
1.26 GenericAgent.pm, 1.34, 1.35 Group.pm, 1.54,
1.55 LinkObject.pm, 1.20, 1.21 Lock.pm, 1.17,
1.18 MailAccount.pm, 1.1, 1.2 PID.pm, 1.10, 1.11 Package.pm,
1.73, 1.74 PostMaster.pm, 1.69, 1.70 Priority.pm, 1.11,
1.12 Queue.pm, 1.84, 1.85 SLA.pm, 1.19, 1.20 Salutation.pm,
1.3, 1.4 SearchProfile.pm, 1.8, 1.9 Service.pm, 1.23,
1.24 Signature.pm, 1.3, 1.4 State.pm, 1.25, 1.26 Stats.pm,
1.40, 1.41 SystemAddress.pm, 1.16, 1.17 Ticket.pm, 1.304,
1.305 Type.pm, 1.4, 1.5 User.pm, 1.75, 1.76 Valid.pm, 1.5,
1.6 XML.pm, 1.69, 1.70
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs-log
mailing list