diff options
Diffstat (limited to 'apps/federation/backgroundjob/getsharedsecret.php')
-rw-r--r-- | apps/federation/backgroundjob/getsharedsecret.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/apps/federation/backgroundjob/getsharedsecret.php b/apps/federation/backgroundjob/getsharedsecret.php index 88f2a51045a..eb55fa2d6ab 100644 --- a/apps/federation/backgroundjob/getsharedsecret.php +++ b/apps/federation/backgroundjob/getsharedsecret.php @@ -110,10 +110,20 @@ class GetSharedSecret extends QueuedJob{ $target = $this->argument['url']; // only execute if target is still in the list of trusted domains if ($this->trustedServers->isTrustedServer($target)) { - parent::execute($jobList, $logger); + $this->parentExecute($jobList, $logger); } } + /** + * call execute() method of parent + * + * @param JobList $jobList + * @param ILogger $logger + */ + protected function parentExecute($jobList, $logger) { + parent::execute($jobList, $logger); + } + protected function run($argument) { $target = $argument['url']; $source = $this->urlGenerator->getAbsoluteURL('/'); @@ -146,7 +156,7 @@ class GetSharedSecret extends QueuedJob{ && $status !== Http::STATUS_FORBIDDEN ) { $this->jobList->add( - 'OCA\Federation\Backgroundjob\GetSharedSecret', + 'OCA\Federation\BackgroundJob\GetSharedSecret', $argument ); } else { |