mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Turning off dashboard river.
This commit is contained in:
parent
4dfa64a5a1
commit
075c7c7e15
1 changed files with 3 additions and 0 deletions
|
@ -1234,6 +1234,9 @@ def load_river_stories__redis(request):
|
|||
offset = (page-1) * limit
|
||||
story_date_order = "%sstory_date" % ('' if order == 'oldest' else '-')
|
||||
|
||||
if limit == 5 and not request.user.is_staff:
|
||||
return dict(code=-1, message="Had to turn off dashboard river for now.", stories=[])
|
||||
|
||||
if story_hashes:
|
||||
unread_feed_story_hashes = None
|
||||
read_filter = 'unread'
|
||||
|
|
Loading…
Add table
Reference in a new issue