mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/10411] Fix docs and remove empty sql array parts
PHPBB3-10411
This commit is contained in:
@@ -62,6 +62,7 @@ class phpbb_groupposition_teampage implements phpbb_groupposition_interface
|
||||
*
|
||||
* @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));
|
||||
|
Reference in New Issue
Block a user