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/createfeed.php | |
parent | c37d6ea2225e6b7ee93d2a294c33d81681fa843e (diff) |
changes namespace to OCA\News
Diffstat (limited to 'ajax/createfeed.php')
-rw-r--r-- | ajax/createfeed.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ajax/createfeed.php b/ajax/createfeed.php index 728cf4844..896a9b1fa 100644 --- a/ajax/createfeed.php +++ b/ajax/createfeed.php @@ -10,7 +10,7 @@ * */ -//register_shutdown_function("shutdown"); +register_shutdown_function("shutdown"); /* handle the case of fatal error */ function shutdown() { @@ -35,13 +35,13 @@ $userid = OCP\USER::getUser(); $feedurl = trim($_POST['feedurl']); $folderid = trim($_POST['folderid']); -$feedmapper = new OC_News_FeedMapper(); +$feedmapper = new 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); |