'If the currently-active config was deleted, clear the cache'

@staticmethod
def gis_config_ondelete(row):

    s3 = current.response.s3
    if (s3.gis.config and (s3.gis.config.id == row.id)):
        s3.gis.config = None
