[ticket/10411] Fix docs and remove empty sql array parts

PHPBB3-10411
This commit is contained in:
Joas Schilling 2012-11-14 19:03:24 +01:00
parent e417882af1
commit 59bb498de7
2 changed files with 3 additions and 6 deletions

View file

@ -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)
{

View file

@ -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));