Add update route to core
This commit is contained in:
parent
29ae7f55ef
commit
ab12bd292d
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
set_time_limit(0);
|
||||
require_once '../../lib/base.php';
|
||||
|
||||
if (OC::checkUpgrade(false)) {
|
||||
$l = new \OC_L10N('core');
|
||||
|
|
|
@ -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…
Reference in New Issue