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

raeburn raeburn at source.lon-capa.org
Mon Mar 10 16:42:29 EDT 2014


raeburn		Mon Mar 10 20:42:29 2014 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Include $quotatype as additional arg in call to 
    &Apache::loncommon::excess_filesize_warning().
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.578 loncom/interface/londocs.pm:1.579
--- loncom/interface/londocs.pm:1.578	Sun Mar  9 15:49:48 2014
+++ loncom/interface/londocs.pm	Mon Mar 10 20:42:29 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.578 2014/03/09 15:49:48 raeburn Exp $
+# $Id: londocs.pm,v 1.579 2014/03/10 20:42:29 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3183,7 +3183,8 @@
     if (&Apache::loncommon::get_user_quota($coursenum,$coursedom,'course',$quotatype)) {
         $filesize = int($filesize/1000); #expressed in kb
         $$upload_output = &Apache::loncommon::excess_filesize_warning($coursenum,$coursedom,'course',
-                                                                      $env{'form.uploaddoc.filename'},$filesize,'upload');
+                                                                      $env{'form.uploaddoc.filename'},$filesize,
+                                                                      'upload',$quotatype);
         return if ($$upload_output);
     }
     my ($parseaction,$showupload,$nextphase,$mimetype);




More information about the LON-CAPA-cvs mailing list