Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33514 - rss: also exclude suspended users feeds

Thanks Petr!
  • Loading branch information...
commit aacf3222dfedd55da6857e3328e83f96c536fabc 1 parent 6b4c491
Dan Poltawski danpoltawski authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rsslib.php
2  lib/rsslib.php
View
@@ -409,7 +409,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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.