From: skodak Date: Thu, 28 Oct 2004 14:18:33 +0000 (+0000) Subject: merged from 14_STABLE - X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ccfdf3f2cfe84b78a05dbc988fd13ed36116785e;p=moodle.git merged from 14_STABLE - removed incorrect global $USER --- diff --git a/files/index.php b/files/index.php index 889ce72e6d..35c5de5c53 100644 --- a/files/index.php +++ b/files/index.php @@ -9,8 +9,6 @@ require("../config.php"); - global $USER; - $id = required_param('id', PARAM_INT); $file = optional_param('file', '', PARAM_PATH); $wdir = optional_param('wdir', '', PARAM_PATH); diff --git a/mod/resource/coursefiles.php b/mod/resource/coursefiles.php index 42c98dbc1c..579b007a9a 100644 --- a/mod/resource/coursefiles.php +++ b/mod/resource/coursefiles.php @@ -13,8 +13,6 @@ require("../../config.php"); require("../../files/mimetypes.php"); - global $USER; - $id = required_param('id', PARAM_INT); $file = optional_param('file', '', PARAM_PATH); $wdir = optional_param('wdir', '', PARAM_PATH);