diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:40:08 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:40:08 +0200 |
commit | ab12bd292d1ac44db427332c265fa58bcf4c3cb4 (patch) | |
tree | ba38a880f26cf6081a085af87412bbca9770eaa5 /core | |
parent | 29ae7f55ef49e02cd9a823ead1882342bddaaef4 (diff) | |
download | nextcloud-server-ab12bd292d1ac44db427332c265fa58bcf4c3cb4.tar.gz nextcloud-server-ab12bd292d1ac44db427332c265fa58bcf4c3cb4.zip |
Add update route to core
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/update.php | 1 | ||||
-rw-r--r-- | core/routes.php | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 698614c975f..70696e98eef 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -1,6 +1,5 @@ <?php set_time_limit(0); -require_once '../../lib/base.php'; if (OC::checkUpgrade(false)) { $l = new \OC_L10N('core'); diff --git a/core/routes.php b/core/routes.php index cf74521a746..ff79c450508 100644 --- a/core/routes.php +++ b/core/routes.php @@ -80,7 +80,8 @@ $this->create('core_ajax_preview', '/core/preview') ->actionInclude('core/ajax/preview.php'); $this->create('core_ajax_preview', '/core/preview.png') ->actionInclude('core/ajax/preview.php'); - +$this->create('core_ajax_update', '/core/ajax/update.php') + ->actionInclude('core/ajax/update.php'); // Avatar routes $this->create('core_avatar_get_tmp', '/avatar/tmp') ->get() |