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.