1
0
mirror of https://github.com/moparisthebest/user_sql synced 2024-11-24 10:02:19 -05:00

When listing users, take domain mapping into account

This commit is contained in:
Andreas Boehler 2014-11-12 21:55:48 +01:00
parent 2e83d3a059
commit d6af9188ff

View File

@ -262,6 +262,7 @@ class OC_USER_SQL extends OC_User_Backend implements OC_User_Interface
return false;
}
$query = "SELECT $this->sql_column_username FROM $this->sql_table";
$search = $this->doUserDomainMapping($search);
if($search != '')
$query .= " WHERE $this->sql_column_username LIKE :search";
if($this -> sql_column_active != '')