From 6c79b0980fa18bb14933c59f24260c56a54954ae Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 3 Jul 2009 13:39:14 +0000 Subject: [PATCH] MDL-14589 improved _pluginfile function - added forcedownload param --- pluginfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pluginfile.php b/pluginfile.php index 224f039c39..7a5bf6e80c 100644 --- a/pluginfile.php +++ b/pluginfile.php @@ -281,7 +281,7 @@ if ($context->contextlevel == CONTEXT_SYSTEM) { $filefunction = $modname.'_pluginfile'; if (function_exists($filefunction)) { - if ($filefunction($course, $cminfo, $context, $filearea, $args) !== false) { + if ($filefunction($course, $cminfo, $context, $filearea, $args, $forcedownload) !== false) { die; } } -- 2.39.5