1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 08:13:14 +02:00

[ticket/13713] Cache SQL queries

PHPBB3-13713
This commit is contained in:
lavigor
2018-07-11 02:56:31 +03:00
committed by Marc Alexander
parent b5ce3343ed
commit 0aadd52014
9 changed files with 58 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ class usergroup extends base_group
'ON' => 'g.group_id = ug.group_id'
]
],
'WHERE' => 'ug.user_id = ' . (int) $this->user->data['user_id'],
'WHERE' => 'ug.user_pending = 0 AND ug.user_id = ' . (int) $this->user->data['user_id'],
]);
return $query;
}