Skip to content

Commit

Permalink
Do not exclude users on main site
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrajesh committed Jul 3, 2013
1 parent ac15be6 commit a1c4abf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ function filter_total_user_count($count){
/** for 1.7+ user filtering*/

public function users_filter($query_obj){


if(is_main_site())
return ;

$uid_where=$query_obj->uid_clauses['where'];

$blog_id = get_current_blog_id();
Expand Down

0 comments on commit a1c4abf

Please sign in to comment.