summaryrefslogtreecommitdiffstats
path: root/lib/Cron/SocialUpdate.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-07-16 10:23:26 +0200
committerGitHub <noreply@github.com>2021-07-16 10:23:26 +0200
commitc855235802a6a01a0ecf93b6685fc8a8633371a5 (patch)
tree5b97c44354f6b6b3e2bb60d9168084d66a530732 /lib/Cron/SocialUpdate.php
parentd7b540c9b5b6db6b0910b1d51e27825e9f81810a (diff)
parent9641980d28fecc0ec82830a2c2523cc7eb50cb52 (diff)
Merge pull request #2351 from nextcloud/bugfix/2348
Diffstat (limited to 'lib/Cron/SocialUpdate.php')
-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