diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-07-28 16:49:46 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 11:07:53 +0300 |
commit | 3ffff08819365e6a38e0c7d381343f59bc2fc89c (patch) | |
tree | d93beb701a44e197334bca9d8a2c7b4fb54b925d /apps/federation/lib | |
parent | 80c08e8fd0b1d604d333e4bd38b229ce1ae579b9 (diff) |
we don't need to remove the job manually here, even if we ask once more the other server will decline and the background job will be removed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/lib')
-rw-r--r-- | apps/federation/lib/Controller/OCSAuthAPIController.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/federation/lib/Controller/OCSAuthAPIController.php b/apps/federation/lib/Controller/OCSAuthAPIController.php index a2a608babac..f09f0807bd4 100644 --- a/apps/federation/lib/Controller/OCSAuthAPIController.php +++ b/apps/federation/lib/Controller/OCSAuthAPIController.php @@ -149,15 +149,6 @@ class OCSAuthAPIController extends OCSController{ throw new OCSForbiddenException(); } - // we ask for the shared secret so we no longer have to ask the other server - // to request the shared secret - $this->jobList->remove('OCA\Federation\BackgroundJob\RequestSharedSecret', - [ - 'url' => $url, - 'token' => $localToken - ] - ); - $this->jobList->add( 'OCA\Federation\BackgroundJob\GetSharedSecret', [ |