MDL-62493 tool_policy: correct redirection
commit7115c329498c5836386876e6e4063f8e8fd14366
authorMarina Glancy <marina@moodle.com>
Mon, 21 May 2018 02:07:43 +0000 (21 10:07 +0800)
committerMarina Glancy <marina@moodle.com>
Fri, 25 May 2018 06:29:40 +0000 (25 14:29 +0800)
treeed74b5b3ac6aab7c3ba2c9937a955e93956736b2
parentdeaf67147db4864ac371893642f6c78f139d0bcb
MDL-62493 tool_policy: correct redirection

do not override session->wantsurl
do not redirect guests to user.php, they get an error there
admin/tool/policy/classes/output/page_agreedocs.php
admin/tool/policy/lib.php