private void deleteService(final long serviceID) {
        Connection con = null;
        PreparedStatement pstmt = null;
        try {
            con = DbConnectionManager.getConnection();
            pstmt = con.prepareStatement(DELETE_SERVICE);
            pstmt.setLong(1, serviceID);
            pstmt.executeUpdate();
            Log.debug("Deleted MUC service with database ID {}", serviceID);
        }
        catch (SQLException e) {
            Log.error("A database exception occurred while trying to remove service with ID {} from the database.", serviceID, e);
        }
        finally {
            DbConnectionManager.closeConnection(pstmt, con);
        }
    }
Deletes a service based on service ID.

@param serviceID ID of the service to delete.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MultiUserChatManager.java