diff options
Diffstat (limited to 'apps/user_ldap/lib/Jobs/Sync.php')
-rw-r--r-- | apps/user_ldap/lib/Jobs/Sync.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index b6c11cc7a8c..7c203a3e1ab 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -357,7 +357,7 @@ class Sync extends TimedJob { if (isset($argument['mapper'])) { $this->mapper = $argument['mapper']; } else { - $this->mapper = \OCP\Server::get(UserMapping::class); + $this->mapper = \OC::$server->get(UserMapping::class); } if (isset($argument['connectionFactory'])) { |