Browse Source

Add update route to core

remotes/origin/fix-10825
Lukas Reschke 12 years ago
parent
commit
ab12bd292d
  1. 1
      core/ajax/update.php
  2. 3
      core/routes.php

1
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');

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

Loading…
Cancel
Save