ESTRICT double constructor (wrong order of them)
This commit is contained in:
parent
7be050e1e2
commit
7d8fdc7db6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user