diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-07-29 14:46:20 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-07-29 14:51:06 +0200 |
commit | e01bc7de987ddb7d33feb75ad598bdf97c348105 (patch) | |
tree | 02983d5ad08ae4141d890739631a8dc216bd4af5 /core/routes.php | |
parent | 65affdc9b32629ab4692f77ffd4dff77e026b1dc (diff) | |
download | nextcloud-server-e01bc7de987ddb7d33feb75ad598bdf97c348105.tar.gz nextcloud-server-e01bc7de987ddb7d33feb75ad598bdf97c348105.zip |
Revert "OC\Preview - outsource static methods"
This reverts commit 14a35267c15115a1e7d2901ddd9b8c5c7e1b9a31.
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/routes.php b/core/routes.php index c0e658b26dc..41e82f8a73d 100644 --- a/core/routes.php +++ b/core/routes.php @@ -42,13 +42,12 @@ $this->create('js_config', '/core/js/config.js') // Routing $this->create('core_ajax_routes', '/core/routes.json') ->action('OC_Router', 'JSRoutes'); -OC::$CLASSPATH['OC\PreviewManager'] = 'lib/preview.php'; $this->create('core_ajax_preview', '/core/preview.png') - ->action('OC\PreviewManager', 'previewRouter'); + ->action('OC\Preview', 'previewRouter'); $this->create('core_ajax_trashbin_preview', '/core/trashbinpreview.png') - ->action('OC\PreviewManager', 'trashbinPreviewRouter'); + ->action('OC\Preview', 'trashbinPreviewRouter'); $this->create('core_ajax_public_preview', '/core/publicpreview.png') - ->action('OC\PreviewManager', 'publicPreviewRouter'); + ->action('OC\Preview', 'publicPreviewRouter'); OC::$CLASSPATH['OC_Core_LostPassword_Controller'] = 'core/lostpassword/controller.php'; $this->create('core_lostpassword_index', '/lostpassword/') ->get() |