summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/http/request.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/appframework/http/request.php')
-rw-r--r--lib/private/appframework/http/request.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php
index 6f108fedc6d..43f01dfde3f 100644
--- a/lib/private/appframework/http/request.php
+++ b/lib/private/appframework/http/request.php
@@ -33,7 +33,6 @@ use OC\Security\TrustedDomainHelper;
use OCP\IConfig;
use OCP\IRequest;
use OCP\Security\ISecureRandom;
-use OCP\Security\StringUtils;
/**
* Class for accessing variables in the request.
@@ -417,7 +416,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
}
// Check if the token is valid
- if(StringUtils::equals($token, $this->items['requesttoken'])) {
+ if(\OCP\Security\StringUtils::equals($token, $this->items['requesttoken'])) {
return true;
} else {
return false;