Drop dead code
This commit is contained in:
parent
11a5cd8194
commit
8e51382fcd
@ -103,10 +103,7 @@ $(function() {
|
||||
$("#tabledatabases")
|
||||
.find('tbody')
|
||||
.append(data.new_db_string)
|
||||
.PMA_sort_table('.name')
|
||||
.find('#db_summary_row')
|
||||
.appendTo('#tabledatabases tbody')
|
||||
.removeClass('odd even');
|
||||
.PMA_sort_table('.name');
|
||||
|
||||
var $databases_count_object = $('#databases_count');
|
||||
var databases_count = parseInt($databases_count_object.text()) + 1;
|
||||
|
||||
@ -246,7 +246,7 @@ if ($databases_count > 0) {
|
||||
} // end foreach ($databases as $key => $current)
|
||||
unset($current, $odd_row);
|
||||
|
||||
echo '</tbody><tfoot><tr id="db_summary_row">' . "\n";
|
||||
echo '</tbody><tfoot><tr>' . "\n";
|
||||
if ($is_superuser || $cfg['AllowUserDropDatabase']) {
|
||||
echo ' <th></th>' . "\n";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user