def _remove_sync(self, properties):

        if properties:
            current.s3db.resource("sync_repository",
                                  id=properties["repository_id"]).delete()

    # -------------------------------------------------------------------------
Remove synchronization settings
dataset/ETHPy150Open sahana/eden/modules/templates/SAMBRO/controllers.py/subscriptions._remove_sync