diff options
Diffstat (limited to 'lib/Cron/SocialUpdateRegistration.php')
-rw-r--r-- | lib/Cron/SocialUpdateRegistration.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Cron/SocialUpdateRegistration.php b/lib/Cron/SocialUpdateRegistration.php index da8f24c0..664b921e 100644 --- a/lib/Cron/SocialUpdateRegistration.php +++ b/lib/Cron/SocialUpdateRegistration.php @@ -83,7 +83,6 @@ class SocialUpdateRegistration extends TimedJob { * @inheritDoc */ protected function run($arguments) { - // check if admin allows for social updates: $syncAllowedByAdmin = $this->config->getAppValue($this->appName, 'allowSocialSync', 'yes'); if (!($syncAllowedByAdmin === 'yes')) { @@ -91,7 +90,6 @@ class SocialUpdateRegistration extends TimedJob { } $this->userManager->callForSeenUsers(function (IUser $user) { - // check that user opted-in: $bgSyncEnabledByUser = $this->config->getUserValue($user->getUID(), $this->appName, 'enableSocialSync', 'no'); if ($bgSyncEnabledByUser === 'yes' && $user->isEnabled()) { |