Add update route to core

This commit is contained in:
Lukas Reschke 2014-08-19 15:40:08 +02:00
parent 29ae7f55ef
commit ab12bd292d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
<?php
set_time_limit(0);
require_once '../../lib/base.php';
if (OC::checkUpgrade(false)) {
$l = new \OC_L10N('core');

View File

@ -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()