Currently in xmlsitemap_link_save() we have a commented-out section of code to invoke a hook after a link has been saved. Let's uncomment that out and make it a proper insert or update hook.

Files: 
CommentFileSizeAuthor
#1 1354868-hook-xmlsitemap-link-insert-update.patch2.29 KBDave Reid
PASSED: [[SimpleTest]]: [MySQL] 527 pass(es). View

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
2.29 KB
PASSED: [[SimpleTest]]: [MySQL] 527 pass(es). View

Status: Needs review » Needs work

The last submitted patch, 1354868-hook-xmlsitemap-link-insert-update.patch, failed testing.

Dave Reid’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Status: Needs work » Patch (to be ported)
Dave Reid’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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