コード例 #1
0
 def wiki_page_deleted(self, page):
     klass = self.__class__.__name__
     SubscriptionAttribute.delete_by_class_realm_and_target(
         self.env, klass, 'wiki', get_target_id(page))
コード例 #2
0
 def ticket_deleted(self, ticket):
     klass = self.__class__.__name__
     SubscriptionAttribute.delete_by_class_realm_and_target(
         self.env, klass, 'ticket', get_target_id(ticket))
コード例 #3
0
ファイル: subscribers.py プロジェクト: nyuhuhuu/trachacks
 def wiki_page_deleted(self, page):
     klass = self.__class__.__name__
     SubscriptionAttribute.delete_by_class_realm_and_target(self.env, klass, "wiki", get_target_id(page))
コード例 #4
0
 def ticket_deleted(self, ticket):
     klass = self.__class__.__name__
     SubscriptionAttribute.delete_by_class_realm_and_target(
         self.env, klass, 'ticket', get_target_id(ticket))
コード例 #5
0
ファイル: subscribers.py プロジェクト: csnover/TracAnnouncer
 def ticket_deleted(self, ticket):
     klass = self.__class__.__name__
     SubscriptionAttribute.delete_by_class_realm_and_target(
             self.env, klass, 'ticket', ticket.id)
     db = self.env.get_db_cnx()