Permalink
Browse files

user/filters MDL-25657 Obsolete reference to timestart

  • Loading branch information...
1 parent c63ebd4 commit 03a50532becc15be71641e8a5c40ff28e406ecea @danpoltawski danpoltawski committed Jan 3, 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 03a5053

Please sign in to comment.