]> git.mjollnir.org Git - moodle.git/commit
forum subscriptions: MDL-14876 user of deprecated functions was breaking managing...
authortjhunt <tjhunt>
Thu, 11 Dec 2008 07:01:57 +0000 (07:01 +0000)
committertjhunt <tjhunt>
Thu, 11 Dec 2008 07:01:57 +0000 (07:01 +0000)
commit8d8d0bfaae202de8568eab9672b8a7d30bd937c9
tree4ea06963ef001210958d82f3e1cd2e84e1b6627b
parent3c573960ecb23c706d35a8ff5ec5beadfd1a560b
forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.

This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.
mod/forum/lib.php
mod/forum/subscriber.html
mod/forum/subscribers.php