src/main/java/me/firewolf8385/flameperms/api/GroupAPI.java
/**
     * Remove a permission from a group.
     * @param group Group to remove permission from.
     * @param permission Permission to be removed.
     */
Remove a permission from a group.
@param group Group to remove permission from.
@param permission Permission to be removed.
Remove a permission from a group . @param group Group to remove permission from . @param permission Permission to be removed .
public static void removePermission(String group, String permission)
    {
        try
        {
            PreparedStatement statement = MySQL.getConnection().prepareStatement("DELETE FROM fp_group_permissions WHERE name = ? AND permission = ?");
            statement.setString(1, group.toLowerCase());
            statement.setString(2, permission);
            statement.executeUpdate();
        }
        catch(SQLException e)
        {
            e.printStackTrace();
        }
    }
public static void removePermission ( String group , String permission ) { try { PreparedStatement statement = MySQL . getConnection ( ) . prepareStatement ( "DELETE FROM fp_group_permissions WHERE name = ? AND permission = ?" ) ; statement . setString ( 1 , group . toLowerCase ( ) ) ; statement . setString ( 2 , permission ) ; statement . executeUpdate ( ) ; } catch ( SQLException e ) { e . printStackTrace ( ) ; } }
Remove a permission from a group.
Remove a permission from a group .