MDL-30340 Block stickiness computation improvements
authorDavid Mudrak <david@moodle.com>
Sat, 3 Dec 2011 13:11:26 +0000 (14:11 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 3 Dec 2011 15:57:21 +0000 (16:57 +0100)
commit9d2c424d832404155fb03bd244813ecfdfddb9e0
tree4e04c8a287cc31c228a1955dd0c50299c87d1b16
parente3cdf40ff5d49a60465b4857d97245bec6905519
MDL-30340 Block stickiness computation improvements

This is an attempt to clean up and fix the computation of the block
stickiness. At first, the page pattern can't be ignored because the user
may want to currently try to limit the page pattern. Second, the
site-index pattern can be forced only if the user selected 'Front page
only' as the page context.
lib/blocklib.php