Update User.php

This commit is contained in:
Roman Kelesidis 2025-08-21 10:28:27 +03:00
commit e96e362e7c
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -641,8 +641,6 @@ class User
}
$userLangCacheKey = "user_lang_{$langKey}";
$userLang = CACHE('bb_lang')->get($userLangCacheKey);
if (!$userLang = CACHE('bb_lang')->get($userLangCacheKey)) {
$lang = [];
require(LANG_DIR . 'main.php');