[otrs-cvs] otrs/Kernel/System/Scheduler TaskManager.pm,1.18,1.19
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System/Scheduler
In directory lancelot:/tmp/cvs-serv8521/Kernel/System/Scheduler
Modified Files:
TaskManager.pm
Log Message:
Fixed problems with YAML parsing long lines. Added new module dependency YAML::XS.
Author: mg
Index: TaskManager.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Scheduler/TaskManager.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -2 -u -d -r1.18 -r1.19
--- TaskManager.pm 9 Jan 2013 18:21:51 -0000 1.18
+++ TaskManager.pm 15 Jan 2013 17:43:27 -0000 1.19
@@ -15,5 +15,5 @@
use warnings;
-use YAML;
+use Kernel::System::YAML;
use vars qw(@ISA $VERSION);
@@ -139,7 +139,6 @@
# eval if data can be converted to YAML
eval {
-
# dump data as string
- $Data = YAML::Dump( $Param{Data} );
+ $Data = Kernel::System::YAML::Dump( $Param{Data} );
};
@@ -232,5 +231,5 @@
# eval if YAML content can be readed
eval {
- $DataParam = YAML::Load( $Data[0] );
+ $DataParam = Kernel::System::YAML::Load( $Data[0] );
};
---------------------------------------------------------------------
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