While the code registry has been rolled back in core, the class registry is still in action. So we don't need to explicitely include the class file, but can rely on Drupal including it whenever it's used.
Enclosed patch fixes that.

CommentFileSizeAuthor
amazon_store_use_class_registry.patch639 bytespancho

Comments

pancho’s picture

Title: Use class registry for searchindexes.inc » Rely on class registry for SearchIndexes class
Status: Needs review » Fixed
rfay’s picture

Don't forget to update the CHANGELOG when committing. If you have a better way of keeping track of changes for when we issue releases I'm open to it, but this has been the best technique I've been able to figure out.

Thanks for all the great work!

pancho’s picture

Sorry, I keep forgetting the changelog... I'm gonna try harder to think at it!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.