From 6847109bb994580e67ca33ba93f1c382ab81ec6e Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Tue, 29 Apr 2014 11:54:02 +0100 Subject: [PATCH] Removed 'object_indexed' check from update_index command Conflicts: wagtail/wagtailsearch/management/commands/update_index.py --- wagtail/wagtailsearch/management/commands/update_index.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wagtail/wagtailsearch/management/commands/update_index.py b/wagtail/wagtailsearch/management/commands/update_index.py index ee85da8ff..0b4cb695f 100644 --- a/wagtail/wagtailsearch/management/commands/update_index.py +++ b/wagtail/wagtailsearch/management/commands/update_index.py @@ -25,11 +25,6 @@ class Command(BaseCommand): # Loop through objects for obj in model.objects.all(): - # Check if this object has an 'object_indexed' function - if hasattr(obj, 'object_indexed'): - if obj.object_indexed() is False: - continue - # Get key for this object key = toplevel_content_type + ':' + str(obj.pk)