Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Cron
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-07-15 10:19:38 +0300
committerJohn Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com>2021-07-16 11:19:45 +0300
commit8ece6e064df396db08b678f42483987e917f63b7 (patch)
tree8699f46c0bfde5ebd476b4eece65d83aff7dfeb4 /lib/Cron
parentd7b540c9b5b6db6b0910b1d51e27825e9f81810a (diff)
Replace any string value with a nullable network for the fallback to match the first social service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Cron')
-rw-r--r--lib/Cron/SocialUpdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Cron/SocialUpdate.php b/lib/Cron/SocialUpdate.php
index fcb41a5c..9f8ee9ba 100644
--- a/lib/Cron/SocialUpdate.php
+++ b/lib/Cron/SocialUpdate.php
@@ -46,7 +46,7 @@ class SocialUpdate extends \OC\BackgroundJob\QueuedJob {
$offsetContact = $arguments['offsetContact'] ?? null;
// update contacts with first available social media profile
- $result = $this->social->updateAddressbooks('any', $userId, $offsetBook, $offsetContact);
+ $result = $this->social->updateAddressbooks($userId, $offsetBook, $offsetContact);
if ($result->getStatus() === Http::STATUS_PARTIAL_CONTENT) {
// not finished; schedule a follow-up