From a9425c7ebfb6998d144ee863e6df6ef4680c759b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Mon, 12 Oct 2020 16:56:20 +0200 Subject: [PATCH] Drop X-NEXTCLOUD-UID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .../lib/Listeners/ContactInteractionListener.php | 3 --- apps/contactsinteraction/tests/Db/RecentContactMapperTest.php | 1 - 2 files changed, 4 deletions(-) diff --git a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php index 4bcc13a97a..4135d83b5a 100644 --- a/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php +++ b/apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php @@ -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(); } diff --git a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php index 1fb5345162..026859168f 100644 --- a/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php +++ b/apps/contactsinteraction/tests/Db/RecentContactMapperTest.php @@ -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();