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
1 changed files with 1 additions and 4 deletions

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);
};
}