]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-6850 Removed apparent-size from du
authormoodler <moodler>
Fri, 18 Jul 2008 06:42:08 +0000 (06:42 +0000)
committermoodler <moodler>
Fri, 18 Jul 2008 06:42:08 +0000 (06:42 +0000)
lib/moodlelib.php

index cdd4f9c881caac63cbafb819020099be1a87362e..61b787024edad98d1543236c70530af523d4b17b 100644 (file)
@@ -4803,7 +4803,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);