'If a PR Image is deleted, delete the thumbnails too'

@staticmethod
def pr_image_ondelete(row):

    db = current.db
    table = db.pr_image
    row = db((table.id == row.id)).select(table.image, limitby=(0, 1)).first()
    current.s3db.pr_image_delete_all(row.image)
