Permalink
Browse files

MDL-33514 - rss: also exclude suspended users feeds

Thanks Petr!
  • Loading branch information...
danpoltawski committed Jun 11, 2012
1 parent 331de0b commit dbb729e9d3924ebe67bebc5944628af16b3f563a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rsslib.php
View
@@ -350,7 +350,7 @@ function rss_get_userid_from_token($token) {
$sql = 'SELECT u.id FROM {user} u
JOIN {user_private_key} k ON u.id = k.userid
WHERE u.deleted = 0 AND u.confirmed = 1
AND k.value = ?';
AND u.suspended = 0 AND k.value = ?';
return $DB->get_field_sql($sql, array($token), IGNORE_MISSING);
}

0 comments on commit dbb729e

Please sign in to comment.