Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1852 from elinw/patch-3

Remove deprecated getFeedParser method from JFactory
  • Loading branch information...
commit e429676c5c19c70c5ac680a9421f009fc9636e8a 2 parents 887601e + 43eac4f
@eddieajau eddieajau authored
Showing with 0 additions and 23 deletions.
  1. +0 −23 libraries/joomla/factory.php
View
23 libraries/joomla/factory.php
@@ -355,29 +355,6 @@ public static function getMailer()
}
/**
- * 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.
*
* @param string $data Full path and file name.
Please sign in to comment.
Something went wrong with that request. Please try again.