summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-11 13:19:22 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-18 17:12:59 +0200
commit5c3183cedd9672025199a1298853834df1c1320f (patch)
tree6abec1e8882d2fd88b138653686bd5c0a3c6502e /apps/updatenotification/lib
parentfd1740deb604894a8bef515d98c5992a392e6f0a (diff)
downloadnextcloud-server-5c3183cedd9672025199a1298853834df1c1320f.tar.gz
nextcloud-server-5c3183cedd9672025199a1298853834df1c1320f.zip
Move version check code out of class Updater
Diffstat (limited to 'apps/updatenotification/lib')
-rw-r--r--apps/updatenotification/lib/updatechecker.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/updatenotification/lib/updatechecker.php b/apps/updatenotification/lib/updatechecker.php
index 965e21617e7..bf653c23b8f 100644
--- a/apps/updatenotification/lib/updatechecker.php
+++ b/apps/updatenotification/lib/updatechecker.php
@@ -21,16 +21,16 @@
namespace OCA\UpdateNotification;
-use OC\Updater;
+use OC\Updater\VersionCheck;
class UpdateChecker {
- /** @var Updater */
+ /** @var VersionCheck */
private $updater;
/**
- * @param Updater $updater
+ * @param VersionCheck $updater
*/
- public function __construct(Updater $updater) {
+ public function __construct(VersionCheck $updater) {
$this->updater = $updater;
}