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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 24 Jun 2006 00:36:24 -0000


albertel		Fri Jun 23 20:36:24 2006 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - BUG#4562, when unsubbing from a resource (because there is a new version
     and we don't need it) the old meta file didn't get deleted thus poising
     things with old data until the file got repulled over.
  
  
  
Index: loncom/lond
diff -u loncom/lond:1.333 loncom/lond:1.334
--- loncom/lond:1.333	Tue Jun  6 21:49:43 2006
+++ loncom/lond	Fri Jun 23 20:36:23 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.333 2006/06/07 01:49:43 raeburn Exp $
+# $Id: lond,v 1.334 2006/06/24 00:36:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.333 $'; #' stupid emacs
+my $VERSION='$Revision: 1.334 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -1847,6 +1847,7 @@
 		my $reply=&reply("unsub:$fname","$clientname");
 		&devalidate_meta_cache($fname);
 		unlink("$fname");
+		unlink("$fname.meta");
 	    } else {
 		my $transname="$fname.in.transfer";
 		my $remoteurl=&reply("sub:$fname","$clientname");