From ef30cf850a6ec5ac5fbefcf404afb856a19e333b Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 18 Jul 2008 06:41:13 +0000 Subject: [PATCH] MDL-6850 Removed apparent-size from du --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index e437b12b4..fbe8c4648 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -4917,7 +4917,7 @@ function get_directory_size($rootdir, $excludefile='') { // do it this way if we can, it's much faster if (!empty($CFG->pathtodu) && is_executable(trim($CFG->pathtodu))) { - $command = trim($CFG->pathtodu).' -sk --apparent-size '.escapeshellarg($rootdir); + $command = trim($CFG->pathtodu).' -sk '.escapeshellarg($rootdir); $output = null; $return = null; exec($command,$output,$return); -- 2.11.4.GIT