mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Removed deprecated SQL_CACHE
https://dev.mysql.com/worklog/task/?id=10837
This commit is contained in:
parent
90da2f7983
commit
1dc01fe0b2
2 changed files with 2 additions and 3 deletions
|
@ -338,7 +338,7 @@ function auth($type, $forum_id, $ug_data, array $f_access = array(), $group_perm
|
|||
}
|
||||
} else {
|
||||
if (!$is_guest && !$is_admin) {
|
||||
$sql = "SELECT SQL_CACHE aa.forum_id, aa.forum_perm
|
||||
$sql = "SELECT aa.forum_id, aa.forum_perm
|
||||
FROM " . BB_AUTH_ACCESS_SNAP . " aa
|
||||
WHERE aa.user_id = " . (int)$ug_data['user_id'] . "
|
||||
$forum_match_sql";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue