From 10d869ae0ba8c6669968c27d888f593502434aaf Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 13 Jan 2024 15:26:49 +0700 Subject: [PATCH] Revert "Update functions.php" This reverts commit 2a1c0c6ebe28b079b338881fc656b6a9475998c5. --- library/includes/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/library/includes/functions.php b/library/includes/functions.php index dd4438b44..d254bf9fd 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -264,11 +264,6 @@ function auth($type, $forum_id, $ug_data, array $f_access = [], $group_perm = UG { global $lang, $bf, $datastore; - // Check for forum existence - if (!forum_exists($forum_id)) { - return []; - } - $is_guest = true; $is_admin = false; $auth = $auth_fields = $u_access = [];