Revert "Update functions.php"

This reverts commit 2a1c0c6ebe.
This commit is contained in:
Roman Kelesidis 2024-01-13 15:26:49 +07:00
commit 10d869ae0b

View file

@ -264,11 +264,6 @@ function auth($type, $forum_id, $ug_data, array $f_access = [], $group_perm = UG
{ {
global $lang, $bf, $datastore; global $lang, $bf, $datastore;
// Check for forum existence
if (!forum_exists($forum_id)) {
return [];
}
$is_guest = true; $is_guest = true;
$is_admin = false; $is_admin = false;
$auth = $auth_fields = $u_access = []; $auth = $auth_fields = $u_access = [];