0001-replaced-split-deprecated-in-5.3-with-explode.patch (1.5 kb) added by Thomas Koch
From c5f5259f190ca53d0eab0200b15d4b4d89019a0c Mon Sep 17 00:00:00 2001
From: Thomas Koch <thomas.koch@ymc.ch>
Date: Mon, 24 Nov 2008 10:29:09 +0100
Subject: [PATCH] replaced split(deprecated in 5.3) with explode.
---
src/interfaces/processor.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/interfaces/processor.php b/src/interfaces/processor.php
index 01eec94..6da796c 100644
--- a/src/interfaces/processor.php
+++ b/src/interfaces/processor.php
@@ -217,7 +217,7 @@ abstract class ezcFeedProcessor
$supportedModules = ezcFeed::getSupportedModules();
if ( strpos( $tagName, ':' ) !== false )
{
- list( $prefix, $key ) = split( ':', $tagName );
+ list( $prefix, $key ) = explode( ':', $tagName );
$moduleName = isset( $this->usedPrefixes[$prefix] ) ? $this->usedPrefixes[$prefix] : null;
if ( isset( $supportedModules[$moduleName] ) )
{
@@ -252,7 +252,7 @@ abstract class ezcFeedProcessor
if ( $moduleNamespace === $node->nodeValue )
{
// the nodeName looks like: xmlns:some_module
- list( $xmlns, $prefix ) = split( ':', $node->nodeName );
+ list( $xmlns, $prefix ) = explode( ':', $node->nodeName );
// use the prefix from the XML source as a key in the array $usedPrefixes
// eg. array( 'some_prefix' => 'DublinCore' );
--
1.5.6.5