diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-12 16:56:20 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-12 16:56:20 +0200 |
commit | 5a6a5a16393eb93e94bf325cd1e3b16e5647e4bf (patch) | |
tree | 7d47bf885e0fcc0fbaab1123d04caef5792c5b71 /apps/contactsinteraction | |
parent | 698d4f55f21978972adf2edcef947d04d025ea10 (diff) | |
download | nextcloud-server-5a6a5a16393eb93e94bf325cd1e3b16e5647e4bf.tar.gz nextcloud-server-5a6a5a16393eb93e94bf325cd1e3b16e5647e4bf.zip |
Drop X-NEXTCLOUD-UID
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/contactsinteraction')
-rw-r--r-- | apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php | 3 | ||||
-rw-r--r-- | apps/contactsinteraction/tests/Db/RecentContactMapperTest.php | 1 |
2 files changed, 0 insertions, 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(); |