diff options
Diffstat (limited to 'apps/updatenotification/appinfo/application.php')
-rw-r--r-- | apps/updatenotification/appinfo/application.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/updatenotification/appinfo/application.php b/apps/updatenotification/appinfo/application.php index 24c0a11af69..08ff4abf766 100644 --- a/apps/updatenotification/appinfo/application.php +++ b/apps/updatenotification/appinfo/application.php @@ -34,10 +34,9 @@ class Application extends App { $container = $this->getContainer(); $container->registerService('AdminController', function(IAppContainer $c) { - $updater = new \OC\Updater( - \OC::$server->getHTTPHelper(), - \OC::$server->getConfig(), - \OC::$server->getIntegrityCodeChecker() + $updater = new \OC\Updater\VersionCheck( + \OC::$server->getHTTPClientService(), + \OC::$server->getConfig() ); return new AdminController( $c->query('AppName'), |