mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:05:56 +00:00
move db-prefs to OO
This commit is contained in:
@@ -509,8 +509,6 @@ class Handler_Public extends Handler {
|
||||
}
|
||||
|
||||
function login() {
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
|
||||
if (!SINGLE_USER_MODE) {
|
||||
|
||||
$login = $this->dbh->escape_string($_POST["login"]);
|
||||
@@ -541,7 +539,6 @@ class Handler_Public extends Handler {
|
||||
|
||||
if ($this->dbh->num_rows($result) != 0) {
|
||||
$_SESSION["profile"] = $profile;
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user