diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 21:45:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 21:45:16 +0300 |
commit | fd9cd5292979045581630d36b1f35333c60f420e (patch) | |
tree | b5f31938aa83ae0d6f0d095f07a1e54ef3ec226c /classes/prefs.php | |
parent | a1ca62af50047a92692c009b97bebb73f94db7ea (diff) |
prefs: migrate after cache has been filled to skip 1 pref requestwip-new-prefs
Diffstat (limited to 'classes/prefs.php')
-rw-r--r-- | classes/prefs.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/prefs.php b/classes/prefs.php index dabe5eac6..e6d8a84f1 100644 --- a/classes/prefs.php +++ b/classes/prefs.php @@ -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); }; } |