use new unindexTrack method
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3274 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
3dd9bdbe36
commit
091cf37185
1 changed files with 1 additions and 2 deletions
|
@ -213,10 +213,9 @@ class TrackingStorage(BTreeContainer):
|
|||
def removeTrack(self, track):
|
||||
trackId = str(track.__name__)
|
||||
trackNum = int(trackId)
|
||||
for attr in self.indexAttributes:
|
||||
self.indexes[attr].unindex_doc(trackNum)
|
||||
if trackId in self:
|
||||
del self[trackId]
|
||||
self.unindexTrack(trackNum, track)
|
||||
|
||||
def indexTrack(self, trackNum, track, idx=None):
|
||||
if not trackNum:
|
||||
|
|
Loading…
Add table
Reference in a new issue