Drop dead code

This commit is contained in:
Rouslan Placella 2012-06-15 20:27:44 +01:00
parent 11a5cd8194
commit 8e51382fcd
2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -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";
}