summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/DefaultTokenCleanupJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Token/DefaultTokenCleanupJob.php')
-rw-r--r--lib/private/Authentication/Token/DefaultTokenCleanupJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php
index 389a25a9bba..60bb0adbf7b 100644
--- a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php
+++ b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php
@@ -29,7 +29,7 @@ class DefaultTokenCleanupJob extends Job {
protected function run($argument) {
/* @var $provider IProvider */
- $provider = OC::$server->query('OC\Authentication\Token\IProvider');
+ $provider = OC::$server->query(IProvider::class);
$provider->invalidateOldTokens();
}