Merge pull request #570 from torrentpier/fixed-code-style

Fixed code-style in some files
This commit is contained in:
Roman Kelesidis 2023-03-07 22:19:56 +07:00 committed by GitHub
commit d775648f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View file

@ -201,7 +201,7 @@ if ($paginationusername) {
}
if ($mode != 'topten' || $bb_cfg['topics_per_page'] < 10) {
$sql = "SELECT COUNT(*) AS total FROM " . BB_USERS;
$sql .= ($letter_sql) ? " WHERE $letter_sql" : " WHERE user_id NOT IN(". EXCLUDED_USERS .")";
$sql .= ($letter_sql) ? " WHERE $letter_sql" : " WHERE user_id NOT IN(" . EXCLUDED_USERS . ")";
if (!$result = DB()->sql_query($sql)) {
bb_die('Error getting total users');
}

View file

@ -146,13 +146,13 @@ class Sessions
/**
* Start user session on page header
* @deprecated
*
* @param string $user_ip
* @param int $page_id
* @param bool $req_login
*
* @return array
* @deprecated
*
*/
public static function session_pagestart($user_ip = USER_IP, $page_id = 0, $req_login = false)
{