diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-06 17:00:00 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-06 17:00:00 +0200 |
commit | 58f473d734373047db585d3b2926d33aa326f5ab (patch) | |
tree | efb2f1f5462f026d4d035d48d2e7ecca10af1613 /lib/legacy | |
parent | c8ad3df1fa27afe49f61a1c320d53bedbcb78871 (diff) | |
download | nextcloud-server-58f473d734373047db585d3b2926d33aa326f5ab.tar.gz nextcloud-server-58f473d734373047db585d3b2926d33aa326f5ab.zip |
split upgrade logic from ajax file
Diffstat (limited to 'lib/legacy')
-rw-r--r-- | lib/legacy/updater.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/legacy/updater.php b/lib/legacy/updater.php new file mode 100644 index 00000000000..8a769a2f14b --- /dev/null +++ b/lib/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(); + } +} |