Browse Source

[mod] the browser search always uses the general category

dalf 11 years ago
parent
commit
4009b9a66d
1 changed files with 0 additions and 5 deletions
  1. 0 5
      searx/webapp.py

+ 0 - 5
searx/webapp.py

@@ -90,11 +90,6 @@ def index():
                 if not category in categories:
                     continue
                 selected_categories.append(category)
-        if not len(selected_categories):
-            cookie_categories = request.cookies.get('categories', '').split(',')
-            for ccateg in cookie_categories:
-                if ccateg in categories:
-                    selected_categories.append(ccateg)
         if not len(selected_categories):
             selected_categories = ['general']