diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-09 11:44:09 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-09 11:44:09 +0100 |
commit | b9e330109b58fac55c3728dd3c543552fcabd353 (patch) | |
tree | 93d386ca453b4b90f517018eb63a4b64df22e8ba /vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php | |
parent | e5d18a22c3c15acf61f97da4965a551b83df05cb (diff) |
update picofeed to 0.1.0
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php b/vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php index 8de2d8511..2f8e4006d 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php @@ -5,7 +5,7 @@ namespace PicoFeed\Serialization; use SimpleXmlElement; use StdClass; -use PicoFeed\Logging\Logging; +use PicoFeed\Logging\Logger; use PicoFeed\Parser\XmlParser; /** @@ -51,17 +51,17 @@ class Import */ public function execute() { - Logging::setMessage(get_called_class().': start importation'); + Logger::setMessage(get_called_class().': start importation'); $xml = XmlParser::getSimpleXml(trim($this->content)); if ($xml === false || $xml->getName() !== 'opml' || ! isset($xml->body)) { - Logging::setMessage(get_called_class().': OPML tag not found or malformed XML document'); + Logger::setMessage(get_called_class().': OPML tag not found or malformed XML document'); return false; } $this->parseEntries($xml->body); - Logging::setMessage(get_called_class().': '.count($this->items).' subscriptions found'); + Logger::setMessage(get_called_class().': '.count($this->items).' subscriptions found'); return $this->items; } |