[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 18:30:42 -0000
albertel Tue Nov 15 13:30:42 2005 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- elimintaing some dependencies
- adding in Digest::MD5 dependency
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.675 loncom/lonnet/perl/lonnet.pm:1.676
--- loncom/lonnet/perl/lonnet.pm:1.675 Tue Nov 1 16:34:04 2005
+++ loncom/lonnet/perl/lonnet.pm Tue Nov 15 13:30:41 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.675 2005/11/01 21:34:04 albertel Exp $
+# $Id: lonnet.pm,v 1.676 2005/11/15 18:30:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -49,10 +49,11 @@
use HTML::LCParser;
use HTML::Parser;
use Fcntl qw(:flock);
-use Apache::lonlocal;
use Storable qw(lock_store lock_nstore lock_retrieve freeze thaw nfreeze);
use Time::HiRes qw( gettimeofday tv_interval );
use Cache::Memcached;
+use Digest::MD5;
+
my $readit;
my $max_connection_retries = 10; # Or some such value.
@@ -3656,7 +3657,7 @@
sub plaintext {
my $short=shift;
- return &mt($prp{$short});
+ return &Apache::lonlocal::mt($prp{$short});
}
# ----------------------------------------------------------------- Assign Role
@@ -4638,7 +4639,7 @@
# ------------------------------------------------------------- request.browser
if ($space eq 'browser') {
if ($qualifier eq 'textremote') {
- if (&mt('textual_remote_display') eq 'on') {
+ if (&Apache::lonlocal::mt('textual_remote_display') eq 'on') {
return 1;
} else {
return 0;