mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Replace PostUpdate key-value config entries with key-value pair entries
This commit is contained in:
parent
47764387b3
commit
10f8631cd9
11 changed files with 112 additions and 101 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue