Permalink
Browse files

MDL-6850 Removed apparent-size from du

  • Loading branch information...
1 parent 81a74ce commit 603cf4588631ad25ddab6c7a30d2643512a0ca83 moodler committed Jul 18, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
2 lib/moodlelib.php
@@ -4025,7 +4025,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);
exec($command,$output,$return);
if (is_array($output)) {
return get_real_size(intval($output[0]).'k'); // we told it to return k.

0 comments on commit 603cf45

Please sign in to comment.