From 5a6a5a16393eb93e94bf325cd1e3b16e5647e4bf Mon Sep 17 00:00:00 2001 From: =?utf8?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=utf8 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 4bcc13a97a6..4135d83b5af 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 1fb5345162d..026859168f5 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(); -- 2.39.5