mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update User.php
This commit is contained in:
parent
4357df8a98
commit
e96e362e7c
1 changed files with 0 additions and 2 deletions
|
@ -641,8 +641,6 @@ class User
|
||||||
}
|
}
|
||||||
|
|
||||||
$userLangCacheKey = "user_lang_{$langKey}";
|
$userLangCacheKey = "user_lang_{$langKey}";
|
||||||
$userLang = CACHE('bb_lang')->get($userLangCacheKey);
|
|
||||||
|
|
||||||
if (!$userLang = CACHE('bb_lang')->get($userLangCacheKey)) {
|
if (!$userLang = CACHE('bb_lang')->get($userLangCacheKey)) {
|
||||||
$lang = [];
|
$lang = [];
|
||||||
require(LANG_DIR . 'main.php');
|
require(LANG_DIR . 'main.php');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue