Posted by ufku on July 30, 2009 at 2:43pm
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code feedapi_node |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | Performance |
Issue Summary
This patch changes _feedapi_node_save (by moving the x_dupe code higher) so that it checks the existence of duplicates before creating a new node object. And also FALSE is returned to indicate that the item is updated when there are duplicates.
Comments
#1
patch
#2
It does make sense.
I tested it with simpletest tests of FeedAPI and FeedAPI Mapper and it won't hurt :)
Also I tested it manually and it does not break the cross-feed deduping feature.
#3
Committed. Thank you!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.