Permalink
Browse files

Merge branch 'MDL-25657' of git://git.luns.net.uk/moodle

  • Loading branch information...
2 parents b095f16 + 03a5053 commit 724125bdd437fc0166e131372bc1b738e06f0502 Sam Hemelryk committed Jan 4, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 user/filters/globalrole.php
@@ -66,8 +66,7 @@ function get_sql_filter($data) {
$sql = "id IN (SELECT userid
FROM {role_assignments} a
- WHERE a.contextid=".SYSCONTEXTID." AND a.roleid=$value AND a.timestart<$timenow
- AND (a.timeend=0 OR a.timeend>$timenow))";
+ WHERE a.contextid=".SYSCONTEXTID." AND a.roleid=$value)";
return array($sql, array());
}

0 comments on commit 724125b

Please sign in to comment.