mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Merge pull request #570 from torrentpier/fixed-code-style
Fixed code-style in some files
This commit is contained in:
commit
d775648f22
5 changed files with 11 additions and 11 deletions
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue