Permalink
Browse files

MDL-6850 Removed apparent-size from du

  • Loading branch information...
1 parent b2c1183 commit bfe239f1e666580aeda5729bb9e56f851e93c920 moodler committed Jul 18, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -4209,7 +4209,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);

0 comments on commit bfe239f

Please sign in to comment.