diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-11 11:39:03 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-11 11:39:03 -0400 |
commit | 48513e8e42c72409109f21804964b7c54527f6c0 (patch) | |
tree | 3da33a98ff14cc34b9f78b08e824d6200a23b1fa /ajax/importopml.php | |
parent | c37d6ea2225e6b7ee93d2a294c33d81681fa843e (diff) |
changes namespace to OCA\News
Diffstat (limited to 'ajax/importopml.php')
-rw-r--r-- | ajax/importopml.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ajax/importopml.php b/ajax/importopml.php index 04b745db6..7911a4db9 100644 --- a/ajax/importopml.php +++ b/ajax/importopml.php @@ -45,13 +45,13 @@ if ($parsed == null) { $data = $parsed->getData(); function createFeed($feedurl, $folderid) { - $feedmapper = new OC_News_FeedMapper(); + $feedmapper = new OCA\News\FeedMapper(); $feedid = $feedmapper->findIdFromUrl($feedurl); $l = OC_L10N::get('news'); if ($feedid === null) { - $feed = OC_News_Utils::fetch($feedurl); + $feed = OCA\News\Utils::fetch($feedurl); if ($feed !== null) { $feedid = $feedmapper->save($feed, $folderid); @@ -71,7 +71,7 @@ function createFeed($feedurl, $folderid) { $countadded = 0; foreach($data as $collection) { - if ($collection instanceOf OC_News_Feed) { + if ($collection instanceOf Feed) { $feedurl = $collection->getUrl(); $folderid = 0; if (createFeed($feedurl, $folderid)) { |