diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-19 21:45:31 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-19 21:45:31 -0400 |
commit | 2259f8635969a3b409dedda8cc1662486fe12ba4 (patch) | |
tree | 20ff884bd1ceb14ad345c7901a7213b77277967f /ajax | |
parent | 4fd557478736c83cc378262754b1a0bb9682398c (diff) |
introduces field userid in the feed table to fix a bug in the update functions
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/feedlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax/feedlist.php b/ajax/feedlist.php index 9f50a88fa..a1a6b7190 100644 --- a/ajax/feedlist.php +++ b/ajax/feedlist.php @@ -17,8 +17,8 @@ OCP\JSON::callCheck(); $userid = OCP\USER::getUser(); -$feedmapper = new OC_News_FeedMapper(); -$feeds = $feedmapper->findAll($userid); +$feedmapper = new OC_News_FeedMapper($userid); +$feeds = $feedmapper->findAll(); $l = OC_L10N::get('news'); |