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 onUnpublishSidebarCollectionEvent(self, event): collection = self.getSidebarSelectedCollection () if collection is not None: Sharing.unpublish(collection)
def onUnpublishSidebarCollectionEvent(self, event): collection = self.getSidebarSelectedCollection() if collection is not None: Sharing.unpublish(collection)