[LON-CAPA-cvs] cvs: loncom /interface lonwhatsnew.pm
raeburn
lon-capa-cvs@mail.lon-capa.org
Thu, 22 Dec 2005 02:38:44 -0000
raeburn Wed Dec 21 21:38:44 2005 EDT
Modified files:
/loncom/interface lonwhatsnew.pm
Log:
Fix bug 4514.
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.40 loncom/interface/lonwhatsnew.pm:1.41
--- loncom/interface/lonwhatsnew.pm:1.40 Tue Dec 20 10:56:38 2005
+++ loncom/interface/lonwhatsnew.pm Wed Dec 21 21:38:44 2005
@@ -1,5 +1,5 @@
#
-# $Id: lonwhatsnew.pm,v 1.40 2005/12/20 15:56:38 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.41 2005/12/22 02:38:44 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1401,9 +1401,9 @@
my ($tmp) = keys(%settings);
if ($tmp=~ /^(con_lost|error|no_such_host)/i) {
%settings = ();
- unless ($tmp eq 'error: 2 tie(GDBM) Failed while attempting dump') {
- &logthis('Error retrieving whatsnew settings: '.$tmp.' for '.
- $uname.':'.$udom.' for course: '.$cid);
+ unless ($tmp =~ /^error: 2 /) {
+ &Apache::lonnet::logthis('Error retrieving whatsnew settings: '.
+ $tmp.' for '.$uname.':'.$udom.' for course: '.$cid);
}
}
return %settings;