public void deleteRedirect ( int id ) { try { sqlService . executeUpdate ( "DELETE FROM " + Constants . DB_TABLE_SERVERS + " WHERE " + Constants . GENERIC_ID + " = " + id + ";" ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Deletes a redirect by id