mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/10411] Fix docs and remove empty sql array parts
PHPBB3-10411
This commit is contained in:
parent
e417882af1
commit
59bb498de7
2 changed files with 3 additions and 6 deletions
|
@ -60,8 +60,9 @@ class phpbb_groupposition_teampage implements phpbb_groupposition_interface
|
|||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param dbal $db Database object
|
||||
* @param phpbb_user $user User object
|
||||
* @param dbal $db Database object
|
||||
* @param phpbb_user $user User object
|
||||
* @param phpbb_cache_driver_interface $cache Cache object
|
||||
*/
|
||||
public function __construct(dbal $db, phpbb_user $user, phpbb_cache_driver_interface $cache)
|
||||
{
|
||||
|
|
|
@ -93,10 +93,6 @@ switch ($mode)
|
|||
'ON' => 'ug.group_id = g.group_id AND ug.user_pending = 0 AND ug.user_id = ' . (int) $user->data['user_id'],
|
||||
),
|
||||
),
|
||||
|
||||
'WHERE' => '',
|
||||
|
||||
'ORDER_BY' => '',
|
||||
);
|
||||
|
||||
$result = $db->sql_query($db->sql_build_query('SELECT', $sql_ary));
|
||||
|
|
Loading…
Add table
Reference in a new issue