Skip to content
Snippets Groups Projects
Commit a727cbc7 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Remove ajax/mimeicon.php and its route

parent 5c381ea5
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Lukas Reschke <lukas@owncloud.com>
* @author Robin Appelman <icewind@owncloud.com>
*
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
\OC::$server->getSession()->close();
$mime = isset($_GET['mime']) ? (string)$_GET['mime'] : '';
print OC_Helper::mimetypeIcon($mime);
...@@ -66,8 +66,6 @@ $this->create('files_ajax_getstoragestats', 'ajax/getstoragestats.php') ...@@ -66,8 +66,6 @@ $this->create('files_ajax_getstoragestats', 'ajax/getstoragestats.php')
->actionInclude('files/ajax/getstoragestats.php'); ->actionInclude('files/ajax/getstoragestats.php');
$this->create('files_ajax_list', 'ajax/list.php') $this->create('files_ajax_list', 'ajax/list.php')
->actionInclude('files/ajax/list.php'); ->actionInclude('files/ajax/list.php');
$this->create('files_ajax_mimeicon', 'ajax/mimeicon.php')
->actionInclude('files/ajax/mimeicon.php');
$this->create('files_ajax_move', 'ajax/move.php') $this->create('files_ajax_move', 'ajax/move.php')
->actionInclude('files/ajax/move.php'); ->actionInclude('files/ajax/move.php');
$this->create('files_ajax_newfile', 'ajax/newfile.php') $this->create('files_ajax_newfile', 'ajax/newfile.php')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment