From 37051e587761a1e767abed8c5eb1d65987d7336d Mon Sep 17 00:00:00 2001 From: dongsheng Date: Mon, 20 Apr 2009 09:21:28 +0000 Subject: [PATCH] "MDL-18848, add default module to curl class" --- lib/filelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index d93c255d49..911a856374 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -2033,7 +2033,7 @@ class curl_cache { * @param string @module, which module is using curl_cache * */ - function __construct($module){ + function __construct($module = 'repository'){ global $CFG; if (!empty($module)) { $this->dir = $CFG->dataroot.'/cache/'.$module.'/'; -- 2.39.5