Permalink
Browse files

removed incorrect global $USER

  • Loading branch information...
1 parent 0098019 commit f349337d7ec40c6242ae00cc56de139a7d74c466 skodak committed Oct 28, 2004
Showing with 0 additions and 4 deletions.
  1. +0 −2 files/index.php
  2. +0 −2 mod/resource/coursefiles.php
View
@@ -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);
@@ -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);

0 comments on commit f349337

Please sign in to comment.