remove custom MIME type change for BLOB streaming because in its current version it can be a very costly operation

This commit is contained in:
Marc Delisle
2010-08-03 16:21:17 -04:00
parent 29cc239057
commit d46bb6d877
4 changed files with 3 additions and 90 deletions

View File

@@ -332,7 +332,8 @@ function PMA_BS_CreateReferenceLink($bs_reference, $db_name)
return 'Error';
}
$output = "<a href=\"#\" onclick=\"requestMIMETypeChange('" . urlencode($db_name) . "', '" . urlencode($GLOBALS['table']) . "', '" . urlencode($bs_reference) . "', '" . urlencode($content_type) . "')\">$content_type</a>";
//$output = "<a href=\"#\" onclick=\"requestMIMETypeChange('" . urlencode($db_name) . "', '" . urlencode($GLOBALS['table']) . "', '" . urlencode($bs_reference) . "', '" . urlencode($content_type) . "')\">$content_type</a>";
$output = $content_type;
// specify custom HTML for various content types
switch ($content_type) {