summaryrefslogtreecommitdiffstats
path: root/ajax/feedlist.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-18 19:25:27 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-18 19:25:27 -0400
commitf3f251acec735d44b1abbe609d83eb349ef40305 (patch)
tree6d8b7a319a74afc97ebb0344d5c7d0b10b9c3e89 /ajax/feedlist.php
parent5fccf54f9f3c04d081d871bab130730d5e417fd3 (diff)
basically reversing commit 18176083
Diffstat (limited to 'ajax/feedlist.php')
-rw-r--r--ajax/feedlist.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ajax/feedlist.php b/ajax/feedlist.php
index ac7c1563f..9f50a88fa 100644
--- a/ajax/feedlist.php
+++ b/ajax/feedlist.php
@@ -23,9 +23,9 @@ $feeds = $feedmapper->findAll($userid);
$l = OC_L10N::get('news');
if($feeds == null) {
- OCP\JSON::error(array('data' => array('message' => $l->t('Error adding folder.'))));
-// FIXME undefinded index feedurl
- OCP\Util::writeLog('news','ajax/feedlist.php: Error updating feeds: '.$_POST['feedurl'], OCP\Util::ERROR);
+ //TODO: handle error better here
+ OCP\JSON::error(array('data' => array('message' => $l->t('Error updating feeds.'))));
+ OCP\Util::writeLog('news','ajax/feedlist.php: Error updating feeds', OCP\Util::ERROR);
exit();
}