mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
fix various issues reported by static analysis
update gitlab-ci config
This commit is contained in:
@@ -23,8 +23,6 @@ class Db_Prefs {
|
||||
}
|
||||
|
||||
function cache() {
|
||||
$profile = false;
|
||||
|
||||
$user_id = $_SESSION["uid"];
|
||||
@$profile = $_SESSION["profile"];
|
||||
|
||||
@@ -129,7 +127,6 @@ class Db_Prefs {
|
||||
@$profile = $_SESSION["profile"];
|
||||
} else {
|
||||
$user_id = sprintf("%d", $user_id);
|
||||
$prefs_cache = false;
|
||||
}
|
||||
|
||||
if ($profile) {
|
||||
|
||||
Reference in New Issue
Block a user