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

raeburn raeburn at source.lon-capa.org
Fri Dec 27 10:11:26 EST 2013


raeburn		Fri Dec 27 15:11:26 2013 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - From 2.11
    - Backport 1.573
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.44 loncom/interface/londocs.pm:1.484.2.45
--- loncom/interface/londocs.pm:1.484.2.44	Thu Dec 19 14:51:21 2013
+++ loncom/interface/londocs.pm	Fri Dec 27 15:11:25 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.44 2013/12/19 14:51:21 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.45 2013/12/27 15:11:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3143,6 +3143,8 @@
         $quotatype = 'community';
     } elsif ($env{'course.'.$coursedom.'_'.$coursenum.'.internal.instcode'}) {
         $quotatype = 'official';
+    } elsif ($env{'course.'.$coursedom.'_'.$coursenum.'.internal.textbook'}) {
+        $quotatype = 'textbook';
     }
     if (&Apache::loncommon::get_user_quota($coursenum,$coursedom,'course',$quotatype)) {
         $filesize = int($filesize/1000); #expressed in kb




More information about the LON-CAPA-cvs mailing list