[LON-CAPA-cvs] cvs: loncom / lond

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Aug 2004 05:13:40 -0000


albertel		Tue Aug 24 01:13:40 2004 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - removing deprectaed command
  
  
Index: loncom/lond
diff -u loncom/lond:1.234 loncom/lond:1.235
--- loncom/lond:1.234	Mon Aug 23 07:24:45 2004
+++ loncom/lond	Tue Aug 24 01:13:40 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.234 2004/08/23 11:24:45 foxr Exp $
+# $Id: lond,v 1.235 2004/08/24 05:13:40 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -57,7 +57,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.234 $'; #' stupid emacs
+my $VERSION='$Revision: 1.235 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3225,24 +3225,6 @@
 	    Reply($client, "refused\n", $userinput);
 	    
 	}
-# ----------------------------------------- portfolio directory list (portls)
-    } elsif ($userinput =~ /^portls/) {
-	if(isClient) {
-	    my ($cmd,$uname,$udom)=split(/:/,$userinput);
-	    my $udir=propath($udom,$uname).'/userfiles/portfolio';
-	    my $dirLine='';
-	    my $dirContents='';
-	    if (opendir(LSDIR,$udir.'/')){
-		while ($dirLine = readdir(LSDIR)){
-		    $dirContents = $dirContents.$dirLine.'<br />';
-		}
-	    } else {
-		$dirContents = "No directory found\n";
-	    }
-	    print $client $dirContents."\n";
-	} else {
-	    Reply($client, "refused\n", $userinput);
-	}
 # -------------------------------------------------------------------------- ls
     } elsif ($userinput =~ /^ls/) {
 	if(isClient) {