From 00db766927803791eb64c4b6353ca50a433ac9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 11 Apr 2016 18:31:56 +0200 Subject: [PATCH] Remove unused function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/import.lib.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libraries/import.lib.php b/libraries/import.lib.php index 06bf334b12..d1186ee33e 100644 --- a/libraries/import.lib.php +++ b/libraries/import.lib.php @@ -47,23 +47,6 @@ function PMA_checkTimeout() } } -/** - * Detects what compression the file uses - * - * @param string $filepath filename to check - * - * @return string MIME type of compression, none for none - * @access public - */ -function PMA_detectCompression($filepath) -{ - $file = @fopen($filepath, 'rb'); - if (! $file) { - return false; - } - return PMA\libraries\Util::getCompressionMimeType($file); -} - /** * Runs query inside import buffer. This is needed to allow displaying * of last SELECT, SHOW or HANDLER results and similar nice stuff.