[otrs-cvs] CVS: Artefact/Kernel/Modules AgentArtefact.pm,1.12,1.13
cvs-log at otrs.org
cvs-log at otrs.org
Tue Nov 14 11:16:41 CET 2006
Update of /home/cvs/Artefact/Kernel/Modules
In directory lancelot:/tmp/cvs-serv30509/Kernel/Modules
Modified Files:
AgentArtefact.pm
Log Message:
removed localtime function
Index: AgentArtefact.pm
===================================================================
RCS file: /home/cvs/Artefact/Kernel/Modules/AgentArtefact.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** AgentArtefact.pm 22 Aug 2005 15:49:22 -0000 1.12
--- AgentArtefact.pm 14 Nov 2006 10:16:38 -0000 1.13
***************
*** 1,5 ****
# --
# Kernel/Modules/AgentArtefact.pm - artefact module
! # Copyright (C) 2003-2005 OTRS GmbH, http://www.otrs.de/
# --
# $Id$
--- 1,5 ----
# --
# Kernel/Modules/AgentArtefact.pm - artefact module
! # Copyright (C) 2003-2006 OTRS GmbH, http://otrs.com/
# --
# $Id$
***************
*** 21,25 ****
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
- # --
sub new {
my $Type = shift;
--- 21,24 ----
***************
*** 51,58 ****
$Self->{SearchPageShown} = $Self->{ConfigObject}->Get('Artefact::SearchPageShown') || 3;
-
return $Self;
}
! # --
sub Run {
my $Self = shift;
--- 50,56 ----
$Self->{SearchPageShown} = $Self->{ConfigObject}->Get('Artefact::SearchPageShown') || 3;
return $Self;
}
!
sub Run {
my $Self = shift;
***************
*** 373,379 ****
my %Links = ();
my %ShownUsers = ();
! my ($Sec, $Min, $Hour, $Day, $Month, $Year) = localtime(time());
! $Year = $Year + 1900;
! $Month = $Month + 1;
# load last search options
--- 371,378 ----
my %Links = ();
my %ShownUsers = ();
!
! my ($Sec, $Min, $Hour, $Day, $Month, $Year) = $Self->{TimeObject}->SystemTime2Date(
! SystemTime => $Self->{TimeObject}->SystemTime(),
! );
# load last search options
***************
*** 388,396 ****
$Frontend{'UserStrg'} = $Self->{LayoutObject}->OptionStrgHashRef(
Data => {
! $Self->{UserObject}->UserList(
! Type => 'Long',
! Valid => 1,
! ),
! '' => '-',
},
Name => 'UserID',
--- 387,395 ----
$Frontend{'UserStrg'} = $Self->{LayoutObject}->OptionStrgHashRef(
Data => {
! $Self->{UserObject}->UserList(
! Type => 'Long',
! Valid => 1,
! ),
! '' => '-',
},
Name => 'UserID',
***************
*** 445,450 ****
# get search params
foreach (qw(Profile Number Filename FileMD5 Description StartHit
! UserID TypeID Order Title
! StartDay StartMonth StartYear StopDay StopMonth StopYear
)) {
$Param{$_} = $Self->{ParamObject}->GetParam(Param => $_);
--- 444,449 ----
# get search params
foreach (qw(Profile Number Filename FileMD5 Description StartHit
! UserID TypeID Order Title
! StartDay StartMonth StartYear StopDay StopMonth StopYear
)) {
$Param{$_} = $Self->{ParamObject}->GetParam(Param => $_);
***************
*** 556,560 ****
return $Self->{LayoutObject}->ErrorScreen(Message => "Invalid Subaction process!");
}
- # --
1;
--- 555,558 ----
More information about the cvs-log
mailing list