Remove ajax/mimeicon.php and its route
This commit is contained in:
parent
5c381ea532
commit
a727cbc7a9
|
@ -1,27 +0,0 @@
|
|||
<?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')
|
|||
->actionInclude('files/ajax/getstoragestats.php');
|
||||
$this->create('files_ajax_list', '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')
|
||||
->actionInclude('files/ajax/move.php');
|
||||
$this->create('files_ajax_newfile', 'ajax/newfile.php')
|
||||
|
|
Loading…
Reference in New Issue