concrete/src/Permission/IPService.php
public function deleteAutomaticBlacklist($onlyExpired = true)
    {
        $sql = 'DELETE FROM LoginControlIpRanges WHERE lcirType = ' . (int) static::IPRANGETYPE_BLACKLIST_AUTOMATIC;
        if ($onlyExpired) {
            $platform = $this->connection->getDatabasePlatform();
            $sql .= ' AND lcirExpires <= ' . $platform->getNowExpression();
        }

        return (int) $this->connection->executeQuery($sql)->rowCount();
    }
public function deleteAutomaticBlacklist($onlyExpired = true)
    {
        $sql = 'DELETE FROM LoginControlIpRanges WHERE lcirType = ' . (int) static::IPRANGETYPE_BLACKLIST_AUTOMATIC;
        if ($onlyExpired) {
            $platform = $this->connection->getDatabasePlatform();
            $sql .= ' AND lcirExpires <= ' . $platform->getNowExpression();
        }

        return (int) $this->connection->executeQuery($sql)->rowCount();
    }
public function deleteAutomaticBlacklist ( $ onlyExpired = true ) { $ sql = 'DELETE FROM LoginControlIpRanges WHERE lcirType = ' . ( int ) static :: IPRANGETYPE_BLACKLIST_AUTOMATIC ; if ( $ onlyExpired ) { $ platform = $ this -> connection -> getDatabasePlatform ( ) ; $ sql .= ' AND lcirExpires <= ' . $ platform -> getNowExpression ( ) ; } return ( int ) $ this -> connection -> executeQuery ( $ sql ) -> rowCount ( ) ; }
Clear the IP addresses automatically blacklisted.

@param bool $onlyExpired Clear only the expired bans?
Clear the IP addresses automatically blacklisted .