concrete5/concrete5 — pull request #1660 by hutbert (2014-03-12 15:10:26+00:00)
Title: Adjust movePageDisplayOrderToBottom function to only do 1 update

When publishing a page from composer to a section of a site with a lot of peer pages (>1000) calling the update query for each of those pages was causing a huge slowdown for us.

See https://www.concrete5.org/community/forums/customizing_c5/publish-in-composer-performance-issue/ for the same problem we've experienced.