summaryrefslogtreecommitdiffstats
path: root/lib/Cron/SocialUpdate.php
diff options
context:
space:
mode:
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