aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Federation/Exceptions/BadRequestException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Federation/Exceptions/BadRequestException.php')
-rw-r--r--lib/public/Federation/Exceptions/BadRequestException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Federation/Exceptions/BadRequestException.php b/lib/public/Federation/Exceptions/BadRequestException.php
index bc8b5c7b724..fbd781aee43 100644
--- a/lib/public/Federation/Exceptions/BadRequestException.php
+++ b/lib/public/Federation/Exceptions/BadRequestException.php
@@ -45,7 +45,7 @@ class BadRequestException extends HintException {
* @param array $missingParameters
*/
public function __construct(array $missingParameters) {
- $l = \OC::$server->getL10N('federation');
+ $l = \OCP\Util::getL10N('federation');
$this->parameterList = $missingParameters;
$parameterList = implode(',', $missingParameters);
$message = 'Parameters missing in order to complete the request. Missing Parameters: ' . $parameterList;