removed MySQL < 5 code

This commit is contained in:
Sebastian Mendel
2007-10-02 11:08:53 +00:00
parent 3737060548
commit 4838458f8e

View File

@@ -342,11 +342,7 @@ elseif ($mult_btn == $strYes) {
break; break;
case 'empty_tbl': case 'empty_tbl':
if (PMA_MYSQL_INT_VERSION >= 40000) {
$a_query = 'TRUNCATE '; $a_query = 'TRUNCATE ';
} else {
$a_query = 'DELETE FROM ';
}
$a_query .= PMA_backquote(htmlspecialchars(urldecode($selected[$i]))); $a_query .= PMA_backquote(htmlspecialchars(urldecode($selected[$i])));
$run_parts = TRUE; $run_parts = TRUE;
break; break;