diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 21:27:16 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 21:27:16 -0400 |
commit | 8aa247ca730a16c837859b644b0e2998d41885ac (patch) | |
tree | 5310819ac81ce4e4ca7502f4b43151eec3295174 /ajax/deletefeed.php | |
parent | 90fb216e7dd61c9571d225aa7c5c834c654d9cef (diff) |
checks userid before deleting
Diffstat (limited to 'ajax/deletefeed.php')
-rw-r--r-- | ajax/deletefeed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ajax/deletefeed.php b/ajax/deletefeed.php index c9c9056ca..d9ef6f85d 100644 --- a/ajax/deletefeed.php +++ b/ajax/deletefeed.php @@ -19,7 +19,7 @@ $userid = OCP\USER::getUser(); $feedid = $_POST['feedid']; -$feedmapper = new OCA\News\FeedMapper(); +$feedmapper = new OCA\News\FeedMapper($userid); $success = $feedmapper->deleteById($feedid); $l = OC_L10N::get('news'); |