Remove unused function

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-04-11 18:31:56 +02:00
parent 3dc44fd2fc
commit 00db766927

View File

@ -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.