diff --git a/lib/private/Server.php b/lib/private/Server.php index d96034adbe1f2..3ed645c046130 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -1058,7 +1058,7 @@ public function __construct($webRoot, \OC\Config $config) { $c->get(IUserSession::class), $c->get(IURLGenerator::class), $c->get(ICacheFactory::class), - new Util($c->get(\OCP\IConfig::class), $this->get(IAppManager::class), $c->getAppDataDir('theming'), $imageManager), + new Util($c->get(ServerVersion::class), $c->get(\OCP\IConfig::class), $this->get(IAppManager::class), $c->getAppDataDir('theming'), $imageManager), $imageManager, $c->get(IAppManager::class), $c->get(INavigationManager::class),