mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
[cookie]changed 'topinfo' to 'note_id'
This commit is contained in:
@@ -31,7 +31,7 @@ class InfobarMiddleware(object):
|
||||
return ret
|
||||
|
||||
def process_request(self, request):
|
||||
topinfo_close = request.COOKIES.get('topinfo', '')
|
||||
topinfo_close = request.COOKIES.get('note_id', '')
|
||||
|
||||
cur_note = cache.get('CUR_TOPINFO') if cache.get('CUR_TOPINFO') else \
|
||||
self.get_from_db()
|
||||
|
Reference in New Issue
Block a user