diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-03-26 16:51:33 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-28 15:59:22 +0300 |
commit | 65202d2a18aca3b253ce5f3c7c9af17ee6d12e52 (patch) | |
tree | 04453d95db5dc3df386188cd85032052fded6db9 /settings/routes.php | |
parent | d3752ca1e925c3aed46c13f7ea26c8f540db05e0 (diff) |
Add check for activated local memcache
Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it.
Fixes https://github.com/owncloud/core/issues/14956
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/routes.php b/settings/routes.php index 5a567bb99ff..5a069e5a1c6 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -49,6 +49,7 @@ $application->registerRoutes($this, array( array('name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST'), array('name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET'), array('name' => 'LogSettings#download', 'url' => '/settings/admin/log/download', 'verb' => 'GET'), + ['name' => 'CheckSetup#check', 'url' => '/settings/ajax/checksetup', 'verb' => 'GET'], ) )); @@ -112,5 +113,3 @@ $this->create('settings_ajax_navigationdetect', '/settings/ajax/navigationdetect // admin $this->create('settings_ajax_excludegroups', '/settings/ajax/excludegroups.php') ->actionInclude('settings/ajax/excludegroups.php'); -$this->create('settings_ajax_checksetup', '/settings/ajax/checksetup') - ->actionInclude('settings/ajax/checksetup.php'); |