1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

implement prefs UI based on new prefs class and a few more things

This commit is contained in:
Andrew Dolgov
2021-02-25 12:46:13 +03:00
parent e858e979e9
commit bd2314170d
8 changed files with 124 additions and 50 deletions

View File

@@ -43,8 +43,6 @@ class UserHelper {
$_SESSION["user_agent"] = sha1($_SERVER['HTTP_USER_AGENT']);
$_SESSION["pwd_hash"] = $row["pwd_hash"];
Pref_Prefs::_init_user_prefs($_SESSION["uid"]);
return true;
}
@@ -66,8 +64,6 @@ class UserHelper {
$_SESSION["ip_address"] = UserHelper::get_user_ip();
Pref_Prefs::_init_user_prefs($_SESSION["uid"]);
return true;
}
}