]> source.dussan.org Git - nextcloud-server.git/commitdiff
Drop X-NEXTCLOUD-UID 23390/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Mon, 12 Oct 2020 14:56:20 +0000 (16:56 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 12 Oct 2020 18:51:53 +0000 (18:51 +0000)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php
apps/contactsinteraction/tests/Db/RecentContactMapperTest.php

index 4bcc13a97a6efc04359e9514c7a64a74a7db4216..4135d83b5af3b749d069ca816b3a9f09d3509de8 100644 (file)
@@ -156,9 +156,6 @@ class ContactInteractionListener implements IEventListener {
                        'CATEGORIES' => $this->l10n->t('Recently contacted'),
                ];
 
-               if ($contact->getUid() !== null) {
-                       $props['X-NEXTCLOUD-UID'] = $contact->getUid();
-               }
                if ($contact->getEmail() !== null) {
                        $props['EMAIL'] = $contact->getEmail();
                }
index 1fb5345162de87183c52abe225d7bb806b2f8404..026859168f5de0262cdb02b123bb47e13d2b46f7 100644 (file)
@@ -110,7 +110,6 @@ class RecentContactMapperTest extends TestCase {
                        'URI' => UUIDUtil::getUUID(),
                        'FN' => 'Foo Bar',
                        'CATEGORIES' => 'Recently contacted',
-                       'X-NEXTCLOUD-UID' => 'foobar',
                ];
 
                $time = $this->time->getDateTime();