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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 17 Jan 2006 21:00:00 -0000


albertel		Tue Jan 17 16:00:00 2006 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - if the .meta file is pushed devalidate the files metadata not the metafiles metadata
  
  
Index: loncom/lond
diff -u loncom/lond:1.304 loncom/lond:1.305
--- loncom/lond:1.304	Fri Dec  9 19:46:23 2005
+++ loncom/lond	Tue Jan 17 16:00:00 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.304 2005/12/10 00:46:23 raeburn Exp $
+# $Id: lond,v 1.305 2006/01/17 21:00:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.304 $'; #' stupid emacs
+my $VERSION='$Revision: 1.305 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -1978,6 +1978,7 @@
 			new Cache::Memcached({'servers'=>['127.0.0.1:11211']});
 		    my $url=$fname;
 		    $url=~s-^/home/httpd/html--;
+		    $url=~s-\.meta$--;
 		    my $id=&escape('meta:'.$url);
 		    $memcache->delete($id);
 		}