prefs: migrate after cache has been filled to skip 1 pref request
This commit is contained in:
parent
a1ca62af50
commit
fd9cd52929
|
@ -162,11 +162,8 @@ class Prefs {
|
||||||
$owner_uid = (int) $_SESSION["uid"];
|
$owner_uid = (int) $_SESSION["uid"];
|
||||||
$profile_id = $_SESSION["profile"] ?? null;
|
$profile_id = $_SESSION["profile"] ?? null;
|
||||||
|
|
||||||
|
|
||||||
$in_nested_tr = false;
|
|
||||||
|
|
||||||
$this->migrate($owner_uid, $profile_id);
|
|
||||||
$this->cache_all($owner_uid, $profile_id);
|
$this->cache_all($owner_uid, $profile_id);
|
||||||
|
$this->migrate($owner_uid, $profile_id);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue