1
0
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:
Andrew Dolgov
2013-04-18 12:00:01 +04:00
parent c1e45a87b2
commit 52d88392da
7 changed files with 192 additions and 190 deletions

View File

@@ -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 {