From 7d8fdc7db6bb499706fe7ede65a0de724433a33f Mon Sep 17 00:00:00 2001 From: Grischa Brockhaus Date: Fri, 22 Jun 2012 19:16:58 +0200 Subject: [PATCH] ESTRICT double constructor (wrong order of them) --- bundled-libs/Onyx/RSS.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bundled-libs/Onyx/RSS.php b/bundled-libs/Onyx/RSS.php index c0d680f7..055d7f19 100644 --- a/bundled-libs/Onyx/RSS.php +++ b/bundled-libs/Onyx/RSS.php @@ -51,11 +51,6 @@ class ONYX_RSS * private $type; */ - function ONYX_RSS($charset = 'UTF-8') - { - $this->__construct($charset); - } - // Forward compatibility with PHP v.5 // http://www.phpvolcano.com/eide/php5.php?page=start function __construct($charset = 'UTF-8') @@ -89,6 +84,11 @@ class ONYX_RSS xml_set_character_data_handler($this->parser, 'cdata'); } + function ONYX_RSS($charset = 'UTF-8') + { + $this->__construct($charset); + } + function parse($uri, $file=false, $time=false, $local=false) { $this->rss = array();