[AMOS commit] MDL-24561 forum subscription checks sesskey

[AMOS commit] MDL-24561 forum subscription checks sesskey

autor AMOS bot -
Počet odpovědí: 0
Author: David Mudrak
MDL-24561 forum subscription checks sesskey
The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
I also polished $mode parameter handling a bit because the check
against empty string was not correct as the value is cast to PARAM_INT.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=6f7d65c7242dfbfe95545a1e9932ee275f29d1da
http://github.com/moodle/moodle/commit/6f7d65c7242dfbfe95545a1e9932ee275f29d1da

+ 2.0 en [confirmsubscribe,mod_forum]
+ 2.0 en [confirmunsubscribe,mod_forum]