'If an Org is deleted then remove Logo'

@staticmethod
def org_organisation_ondelete(row):

    db = current.db
    table = db.org_organisation
    deleted_row = db((table.id == row.id)).select(table.logo, limitby=(0, 1)).first()
    if (deleted_row and deleted_row.logo):
        current.s3db.pr_image_delete_all(deleted_row.logo)
