undefined variables; unneeded config variables
This commit is contained in:
@@ -35,12 +35,6 @@ $cfg['Servers'][$i]['compress'] = false;
|
||||
$cfg['Servers'][$i]['extension'] = 'mysql';
|
||||
$cfg['Servers'][$i]['AllowNoPassword'] = false;
|
||||
|
||||
/* for blobstreaming */
|
||||
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
|
||||
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
|
||||
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
|
||||
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
|
||||
|
||||
/* User for advanced features */
|
||||
// $cfg['Servers'][$i]['controluser'] = 'pma';
|
||||
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
|
||||
|
@@ -137,12 +137,6 @@ $cfg['Servers'][$i]['connect_type'] = 'tcp';
|
||||
*/
|
||||
$cfg['Servers'][$i]['extension'] = 'mysql';
|
||||
|
||||
/* added for blobstreaming */
|
||||
$cfg['Servers'][$i]['bs_garbage_threshold'] = '';
|
||||
$cfg['Servers'][$i]['bs_repository_threshold'] = '';
|
||||
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = '';
|
||||
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '';
|
||||
|
||||
/**
|
||||
* Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
|
||||
*
|
||||
|
@@ -889,7 +889,7 @@ foreach ($rows as $row_id => $vrow) {
|
||||
|
||||
if ($is_upload && $field['is_blob']) {
|
||||
// check if field type is of longblob and if the table is PBMS enabled.
|
||||
if (($field['pma_type'] == "longblob") && PMA_BS_IsTablePBMSEnabled($db_name, $tbl_name, $tbl_type)) {
|
||||
if (($field['pma_type'] == "longblob") && PMA_BS_IsTablePBMSEnabled($db, $table, $tbl_type)) {
|
||||
echo '<br />';
|
||||
echo '<input type="checkbox" name="upload_blob_repo_' . $field['Field_md5'] . $vkey . '" /> ' . __('Upload to BLOB repository');
|
||||
}
|
||||
|
Reference in New Issue
Block a user