blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 13 Dec 2010 13:23:49 +0000 (13:23 +0000)
committerPetr Skoda <commits@skodak.org>
Mon, 20 Dec 2010 17:22:37 +0000 (18:22 +0100)
commitd9c26e2174fff3aa89a985cea40c986a31aaf4dc
tree956b4682ace1f3dd600ae40ee57e354154d60a65
parent958c04e450295f164990b5b9eda000e4fa358e3f
blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.

I added a deprecated method add_pretend_block that forwards to add_fake_block, so old code should be break. However, I aslo updated all the callers in core code.
calendar/renderer.php
lib/blocklib.php
mod/lesson/continue.php
mod/lesson/locallib.php
mod/lesson/view.php
mod/quiz/attempt.php
mod/quiz/review.php