From: moodler Date: Sat, 22 May 2004 04:02:02 +0000 (+0000) Subject: Removed a warning message X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b5b90f269df42f0e684d9c0cc85137e72ad37808;p=moodle.git Removed a warning message --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index e22f8f0e22..a4736bc91a 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -1584,7 +1584,7 @@ function get_directory_size($rootdir, $excludefile="") { return $dirs; } - if (!$dir = opendir($rootdir)) { // Can't open it for some reason + if (!$dir = @opendir($rootdir)) { // Can't open it for some reason return $dirs; }