concrete/src/Permission/IPService.php
public function deleteRange($range)
    {
        if ($range instanceof IPRange) {
            $id = $range->getID();
        } else {
            $id = (int) $range;
        }
        if ($id) {
            $this->connection->executeQuery('DELETE FROM LoginControlIpRanges WHERE lcirID = ? LIMIT 1', [$id]);
        }
    }
public function deleteRange($range)
    {
        if ($range instanceof IPRange) {
            $id = $range->getID();
        } else {
            $id = (int) $range;
        }
        if ($id) {
            $this->connection->executeQuery('DELETE FROM LoginControlIpRanges WHERE lcirID = ? LIMIT 1', [$id]);
        }
    }
public function deleteRange ( $ range ) { if ( $ range instanceof IPRange ) { $ id = $ range -> getID ( ) ; } else { $ id = ( int ) $ range ; } if ( $ id ) { $ this -> connection -> executeQuery ( 'DELETE FROM LoginControlIpRanges WHERE lcirID = ? LIMIT 1' , [ $ id ] ) ; } }
Delete a range record.

@param IPRange|int $range
Delete a range record .