1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-12 21:45:56 +00:00

prefs: migrate after cache has been filled to skip 1 pref request

This commit is contained in:
Andrew Dolgov
2021-02-25 21:45:16 +03:00
parent a1ca62af50
commit fd9cd52929

View File

@@ -162,11 +162,8 @@ class Prefs {
$owner_uid = (int) $_SESSION["uid"];
$profile_id = $_SESSION["profile"] ?? null;
$in_nested_tr = false;
$this->migrate($owner_uid, $profile_id);
$this->cache_all($owner_uid, $profile_id);
$this->migrate($owner_uid, $profile_id);
};
}