[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Tue Jan 24 10:54:03 EST 2017


raeburn		Tue Jan 24 15:54:03 2017 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - For 2.11
    - Backport 1.619
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.68 loncom/interface/londocs.pm:1.484.2.69
--- loncom/interface/londocs.pm:1.484.2.68	Wed Nov 30 18:05:43 2016
+++ loncom/interface/londocs.pm	Tue Jan 24 15:54:02 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.68 2016/11/30 18:05:43 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.69 2017/01/24 15:54:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5187,7 +5187,7 @@
     if ($disk_quota == 0) {
         $percent = 100.0;
     } else {
-        $percent = 100*($current_disk_usage/$disk_quota);
+        $percent = 100*($usage/$disk_quota);
     }
     $usage = sprintf("%.2f",$usage);
     $quota = sprintf("%.2f",$quota);




More information about the LON-CAPA-cvs mailing list