diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-18 19:25:27 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-18 19:25:27 -0400 |
commit | f3f251acec735d44b1abbe609d83eb349ef40305 (patch) | |
tree | 6d8b7a319a74afc97ebb0344d5c7d0b10b9c3e89 /ajax | |
parent | 5fccf54f9f3c04d081d871bab130730d5e417fd3 (diff) |
basically reversing commit 18176083
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/feedlist.php | 6 |
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(); } |