mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Redirection speed is faster (use 0), also prevents page going into IE history
This commit is contained in:
parent
42b76b11bd
commit
603cc2631c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
case WEBLINK:
|
case WEBLINK:
|
||||||
add_to_log($course->id, "resource", "view", "view.php?id=$cm->id", "$resource->id");
|
add_to_log($course->id, "resource", "view", "view.php?id=$cm->id", "$resource->id");
|
||||||
redirect($resource->reference);
|
redirect($resource->reference, "", 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WEBPAGE:
|
case WEBPAGE:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue