Commit 14f951a3 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Bad idea

parent 37ea81c7
......@@ -192,10 +192,4 @@ class SlapOSCacheMixin:
return entry
def isLastData(self, key=None, value=None):
return self.getLastData(key) == value
def getNewsDict(self):
method = self.getTypeBasedMethod('getNewsDict')
if method is not None:
return method()
return self.getAccessStatus()
\ No newline at end of file
return self.getLastData(key) == value
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment