MDL-6850 Removed apparent-size from du

This commit is contained in:
moodler
2008-07-18 06:41:13 +00:00
parent db376fdb42
commit ef30cf850a
+1 -1
View File
@@ -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);