remove cache after recalculation
This commit is contained in:
parent
305cb6581d
commit
96ace1f7dd
|
@ -104,6 +104,10 @@ class ElectionsProxy(ElectionsCommonMixin, ObjectsProxy):
|
|||
'computeObject',
|
||||
[commonTools.extractServerId(objectId), getApplicationToken(),
|
||||
userToken, objectId])
|
||||
cache = context.getVar('cache')
|
||||
if cache and cache.has_key(objectId):
|
||||
del cache[objectId]
|
||||
|
||||
|
||||
def getBallotKind(self, objectId):
|
||||
userToken = context.getVar('userToken', default = '')
|
||||
|
|
Reference in New Issue