Pass the current course to the block class when creating it to find the name
authormoodler <moodler>
Wed, 30 Jun 2004 13:17:59 +0000 (13:17 +0000)
committermoodler <moodler>
Wed, 30 Jun 2004 13:17:59 +0000 (13:17 +0000)
commit36a2d0f5080d5504553cacafba05057ed09bbe12
tree9598311631075c9cd91e389c94694d65d5a5906a
parent82b815c4454b25f1e98c23425a71c938ceb427d8
Pass the current course to the block class when creating it to find the name
of the block.   This allows the class to return different result depending
on the course it is in.
lib/blocklib.php