'Purge old bans, jails and log files from database.'

@commitandrollback
def purge(self, cur):

    self._bansMergedCache = {}
    cur.execute('DELETE    FROM    bans    WHERE    timeofban    <    ?', ((MyTime.time() - self._purgeAge),))
    self._purge_bips(cur)
    self._cleanjails(cur)
