summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/appinfo/app.php')
-rw-r--r--apps/updatenotification/appinfo/app.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php
index f257cba6974..a88861c0942 100644
--- a/apps/updatenotification/appinfo/app.php
+++ b/apps/updatenotification/appinfo/app.php
@@ -20,10 +20,9 @@
*/
if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) {
- $updater = new \OC\Updater(
- \OC::$server->getHTTPHelper(),
- \OC::$server->getConfig(),
- \OC::$server->getIntegrityCodeChecker()
+ $updater = new \OC\Updater\VersionCheck(
+ \OC::$server->getHTTPClientService(),
+ \OC::$server->getConfig()
);
$updateChecker = new \OCA\UpdateNotification\UpdateChecker(
$updater