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

raeburn raeburn@source.lon-capa.org
Sun, 28 Feb 2010 22:38:11 -0000


raeburn		Sun Feb 28 22:38:11 2010 EDT

  Modified files:              
    /loncom/interface	lonwhatsnew.pm 
  Log:
  - Anonymous survey items excluded from "difficult problems" in What's New.
  
  
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.100 loncom/interface/lonwhatsnew.pm:1.101
--- loncom/interface/lonwhatsnew.pm:1.100	Fri Feb 12 19:39:59 2010
+++ loncom/interface/lonwhatsnew.pm	Sun Feb 28 22:38:11 2010
@@ -1,5 +1,5 @@
 #
-# $Id: lonwhatsnew.pm,v 1.100 2010/02/12 19:39:59 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.101 2010/02/28 22:38:11 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -974,6 +974,9 @@
         if ($resource->handgrade($part) eq 'yes') {
             next;
         }
+        if ($resource->is_anonsurvey($part)) {
+            next;
+        }
         if ($resource->is_survey($part)) {
             next;
         }