[LON-CAPA-cvs] cvs: loncom(version_2_11_X) / Lond.pm
raeburn
raeburn at source.lon-capa.org
Wed Jan 19 11:47:51 EST 2022
raeburn Wed Jan 19 16:47:51 2022 EDT
Modified files: (Branch: version_2_11_X)
/loncom Lond.pm
Log:
- For 2.11
Backport 1.17
Index: loncom/Lond.pm
diff -u loncom/Lond.pm:1.8.2.2 loncom/Lond.pm:1.8.2.3
--- loncom/Lond.pm:1.8.2.2 Wed Feb 10 15:08:14 2021
+++ loncom/Lond.pm Wed Jan 19 16:47:51 2022
@@ -1,6 +1,6 @@
# The LearningOnline Network
#
-# $Id: Lond.pm,v 1.8.2.2 2021/02/10 15:08:14 raeburn Exp $
+# $Id: Lond.pm,v 1.8.2.3 2022/01/19 16:47:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -239,10 +239,10 @@
}
}
unless (&untie_domain_hash($hashref)) {
- &logthis("Failed to untie tied hash for nohist_courseids.db for $domain");
+ &Apache::lonnet::logthis("Failed to untie tied hash for nohist_courseids.db for $domain");
}
} else {
- &logthis("Failed to tie hash for nohist_courseids.db for $domain");
+ &Apache::lonnet::logthis("Failed to tie hash for nohist_courseids.db for $domain");
}
}
foreach my $hashid (keys(%recent)) {
@@ -314,9 +314,9 @@
};
if ($@) {
if ($@ eq "timeout\n") {
- &logthis("<font color='blue'>WARNING courseiddump for $cnum:$cdom from $home timedout</font>");
+ &Apache::lonnet::logthis("<font color='blue'>WARNING courseiddump for $cnum:$cdom from $home timedout</font>");
} else {
- &logthis("<font color='yellow'>WARNING unexpected error during eval of call for courseiddump from $home</font>");
+ &Apache::lonnet::logthis("<font color='yellow'>WARNING unexpected error during eval of call for courseiddump from $home</font>");
}
} else {
if (ref($info{$cdom.'_'.$cnum}) eq 'HASH') {
@@ -802,10 +802,10 @@
}
&Apache::lonnet::do_cache_new('iscourse',$hashid,$iscourse,3600);
unless (&untie_domain_hash($hashref)) {
- &logthis("Failed to untie tied hash for nohist_courseids.db for $cdom");
+ &Apache::lonnet::logthis("Failed to untie tied hash for nohist_courseids.db for $cdom");
}
} else {
- &logthis("Failed to tie hash for nohist_courseids.db for $cdom");
+ &Apache::lonnet::logthis("Failed to tie hash for nohist_courseids.db for $cdom");
}
}
return $iscourse;
More information about the LON-CAPA-cvs
mailing list