summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/updater.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/updater.php')
-rw-r--r--lib/private/legacy/updater.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/private/legacy/updater.php b/lib/private/legacy/updater.php
new file mode 100644
index 00000000000..eea7bb129cf
--- /dev/null
+++ b/lib/private/legacy/updater.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+class OC_Updater {
+ public static function check() {
+ $updater = new \OC\Updater();
+ return $updater->check('http://apps.owncloud.com/updater.php');
+ }
+}