def OnUnPubSub(self, evt): share = Sharing.getShare(self.collection) if Sharing.isSharedByMe(share): Sharing.unpublish(self.collection) else: Sharing.unsubscribe(self.collection) self.EndModal(True)
def onUnsubscribeSidebarCollectionEvent(self, event): collection = self.getSidebarSelectedCollection () if collection is not None: Sharing.unsubscribe(collection)
def onUnsubscribeSidebarCollectionEvent(self, event): collection = self.getSidebarSelectedCollection() if collection is not None: Sharing.unsubscribe(collection)