]> git.mjollnir.org Git - moodle.git/commitdiff
merged from 14_STABLE -
authorskodak <skodak>
Thu, 28 Oct 2004 14:18:33 +0000 (14:18 +0000)
committerskodak <skodak>
Thu, 28 Oct 2004 14:18:33 +0000 (14:18 +0000)
removed incorrect global $USER

files/index.php
mod/resource/coursefiles.php

index 889ce72e6dd914b4fc1e4760783810698d11b87e..35c5de5c53168384a45a881bbec5d32547bbc354 100644 (file)
@@ -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);
index 42c98dbc1cebfbfdaac74cdaad2ffbb2b15074fd..579b007a9abdbae7bcb39f10d4f86157c88d5cc2 100644 (file)
@@ -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);