コード例 #1
0
ファイル: product.py プロジェクト: Zojax/zojax.photoalbum
 def uninstall(self):
     unregisterUtility('contenttypes.event.isEvent',
                       ((ICatalogIndex, 'eventIsEvent'),),
                     'indexes')
     unregisterUtility('contenttypes.event.startDate',
                       ((ICatalogIndex, 'eventStartDate'),),
                     'indexes')
     unregisterUtility('contenttypes.event.endDate',
                       ((ICatalogIndex, 'eventEndDate'),),
                     'indexes')
     super(ContentTypesProduct, self).uninstall()
コード例 #2
0
ファイル: product.py プロジェクト: Zojax/zojax.lucene
 def uninstall(self):
     unregisterUtility('zojax.lucene',
                       ((ILuceneIndex, ''), (ICatalogIndex, 'searchableText')))
     super(LuceneInstaller, self).uninstall()
コード例 #3
0
ファイル: product.py プロジェクト: Zojax/zojax.payable.core
 def uninstall(self):
     super(PayableProduct, self).uninstall()
     unregisterUtility('cartutility', [(IShoppingCartUtility, '')])
     unregisterUtility('ordermanager', [(IOrderManager, '')])
     unregisterUtility('payable', [(IStore, '')])
     notify( StoreUninstalled( self ) )