mirror of
https://github.com/moparisthebest/user_sql
synced 2024-11-24 18:12:20 -05:00
When listing users, take domain mapping into account
This commit is contained in:
parent
2e83d3a059
commit
d6af9188ff
@ -262,6 +262,7 @@ class OC_USER_SQL extends OC_User_Backend implements OC_User_Interface
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$query = "SELECT $this->sql_column_username FROM $this->sql_table";
|
$query = "SELECT $this->sql_column_username FROM $this->sql_table";
|
||||||
|
$search = $this->doUserDomainMapping($search);
|
||||||
if($search != '')
|
if($search != '')
|
||||||
$query .= " WHERE $this->sql_column_username LIKE :search";
|
$query .= " WHERE $this->sql_column_username LIKE :search";
|
||||||
if($this -> sql_column_active != '')
|
if($this -> sql_column_active != '')
|
||||||
|
Loading…
Reference in New Issue
Block a user