[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm

raeburn raeburn at source.lon-capa.org
Tue Dec 17 20:29:21 EST 2013


raeburn		Wed Dec 18 01:29:21 2013 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  - MB instead of Mb
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.250 loncom/interface/portfolio.pm:1.251
--- loncom/interface/portfolio.pm:1.250	Wed Aug 21 15:42:22 2013
+++ loncom/interface/portfolio.pm	Wed Dec 18 01:29:20 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.250 2013/08/21 15:42:22 bisitz Exp $
+# $Id: portfolio.pm,v 1.251 2013/12/18 01:29:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2400,7 +2400,7 @@
     if (%curr_groups) {
         my %group_info =  &Apache::longroup::get_group_settings(
                                                     $curr_groups{$group});
-        $group_quota = $group_info{'quota'}; #expressed in Mb
+        $group_quota = $group_info{'quota'}; #expressed in MB
         if ($group_quota) {
             $group_quota = 1000 * $group_quota; #expressed in k
         }
@@ -2522,8 +2522,8 @@
         }
     } else {
         $disk_quota = &Apache::loncommon::get_user_quota($env{'user.name'},
-                                    $env{'user.domain'}); #expressed in Mb
-        $disk_quota = 1000 * $disk_quota; # convert from Mb to kb
+                                    $env{'user.domain'}); #expressed in MB
+        $disk_quota = 1000 * $disk_quota; # convert from MB to kB
     }
     return $disk_quota;
 }




More information about the LON-CAPA-cvs mailing list