Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Update factory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Mar 19, 2013
1 parent 887601e commit 43eac4f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions libraries/joomla/factory.php
Expand Up @@ -354,29 +354,6 @@ public static function getMailer()
return $copy;
}

/**
* Get a parsed XML Feed Source
*
* @param string $url Url for feed source.
* @param integer $cache_time Time to cache feed for (using internal cache mechanism).
*
* @return mixed SimplePie parsed object on success, false on failure.
*
* @since 11.1
* @deprecated 13.3 Use JSimplepieFactory::getFeedParser() instead.
*/
public static function getFeedParser($url, $cache_time = 0)
{
if (!class_exists('JSimplepieFactory'))
{
throw new BadMethodCallException('JSimplepieFactory not found');
}

JLog::add(__METHOD__ . ' is deprecated. Use JSimplepieFactory::getFeedParser() instead.', JLog::WARNING, 'deprecated');

return JSimplepieFactory::getFeedParser($url, $cache_time);
}

/**
* Reads a XML file.
*
Expand Down

0 comments on commit 43eac4f

Please sign in to comment.