diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-09-02 21:22:18 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-09-02 21:25:32 +0200 |
commit | 5539b9e843dbd4125ba9bbb3de79d47ef48e059b (patch) | |
tree | c1a5ddff55d7e1e7681369ac1d8ff1c3831a3b89 /core/routes.php | |
parent | e68b5f8b0da93bf1e039bc700aec8c816cc9afa9 (diff) | |
download | nextcloud-server-5539b9e843dbd4125ba9bbb3de79d47ef48e059b.tar.gz nextcloud-server-5539b9e843dbd4125ba9bbb3de79d47ef48e059b.zip |
Use the namespaced variation of the classname.
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/routes.php b/core/routes.php index f0f8ce571e2..d8c2d03236f 100644 --- a/core/routes.php +++ b/core/routes.php @@ -44,19 +44,18 @@ $this->create('core_ajax_routes', '/core/routes.json') ->action('OC_Router', 'JSRoutes'); $this->create('core_ajax_preview', '/core/preview.png') ->actionInclude('core/ajax/preview.php'); -OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php'; $this->create('core_lostpassword_index', '/lostpassword/') ->get() - ->action('OC_Core_LostPassword_Controller', 'index'); + ->action('OC\Core\LostPassword\Controller', 'index'); $this->create('core_lostpassword_send_email', '/lostpassword/') ->post() - ->action('OC_Core_LostPassword_Controller', 'sendEmail'); + ->action('OC\Core\LostPassword\Controller', 'sendEmail'); $this->create('core_lostpassword_reset', '/lostpassword/reset/{token}/{user}') ->get() - ->action('OC_Core_LostPassword_Controller', 'reset'); + ->action('OC\Core\LostPassword\Controller', 'reset'); $this->create('core_lostpassword_reset_password', '/lostpassword/reset/{token}/{user}') ->post() - ->action('OC_Core_LostPassword_Controller', 'resetPassword'); + ->action('OC\Core\LostPassword\Controller', 'resetPassword'); // Not specifically routed $this->create('app_css', '/apps/{app}/{file}') |