Replace PostUpdate key-value config entries with key-value pair entries

This commit is contained in:
Philipp 2022-12-29 20:18:13 +01:00
parent 47764387b3
commit 10f8631cd9
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
11 changed files with 112 additions and 101 deletions

View file

@ -624,7 +624,7 @@ class Contact
public static function getPublicAndUserContactID(int $cid, int $uid): array
{
// We have to use the legacy function as long as the post update hasn't finished
if (DI::config()->get('system', 'post_update_version') < 1427) {
if (DI::keyValue()->get('post_update_version') < 1427) {
return self::legacyGetPublicAndUserContactID($cid, $uid);
}