Skip polling lastarticleinfo for groups not to be shown.

This commit is contained in:
Retro_Guy 2024-05-15 04:53:47 -07:00
parent 31345514b1
commit 453f025629
1 changed files with 5 additions and 0 deletions

View File

@ -630,6 +630,11 @@ function groups_show($gruppen)
if ($acttype != "group") { if ($acttype != "group") {
$acttype = "group"; $acttype = "group";
} }
if (! isset($userdata[$g->name])) {
if (isset($user_config['hide_unsub']) && $user_config['hide_unsub'] == 'hide') {
continue;
}
}
unset($lastarticleinfo); unset($lastarticleinfo);
$found = 0; $found = 0;
// Get last article info from article database // Get last article info from article database