remove some left over comments
This commit is contained in:
parent
ab255e8bb6
commit
77765bd967
1 changed files with 2 additions and 9 deletions
|
@ -219,14 +219,7 @@ class OC_Group_Database extends OC_Group_Backend {
|
||||||
*/
|
*/
|
||||||
public function DisplayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
|
public function DisplayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
|
||||||
$displayNames = '';
|
$displayNames = '';
|
||||||
/*
|
|
||||||
|
|
||||||
SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo
|
|
||||||
FROM Persons
|
|
||||||
INNER JOIN Orders
|
|
||||||
ON Persons.P_Id=Orders.P_Id
|
|
||||||
ORDER BY Persons.LastName
|
|
||||||
*/
|
|
||||||
$stmt = OC_DB::prepare('SELECT `*PREFIX*users`.`uid`, `*PREFIX*users`.`displayname` FROM `*PREFIX*users` INNER JOIN `*PREFIX*group_user` ON `*PREFIX*group_user`.`uid` = `*PREFIX*users`.`uid` WHERE `gid` = ? AND `*PREFIX*group_user.uid` LIKE ?', $limit, $offset);
|
$stmt = OC_DB::prepare('SELECT `*PREFIX*users`.`uid`, `*PREFIX*users`.`displayname` FROM `*PREFIX*users` INNER JOIN `*PREFIX*group_user` ON `*PREFIX*group_user`.`uid` = `*PREFIX*users`.`uid` WHERE `gid` = ? AND `*PREFIX*group_user.uid` LIKE ?', $limit, $offset);
|
||||||
$result = $stmt->execute(array($gid, $search.'%'));
|
$result = $stmt->execute(array($gid, $search.'%'));
|
||||||
$users = array();
|
$users = array();
|
||||||
|
|
Loading…
Reference in a new issue