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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 13 Apr 2005 18:39:14 -0000


albertel		Wed Apr 13 14:39:14 2005 EDT

  Modified files:              
    /loncom	lonsql 
  Log:
  - if we can connect remove the file the says we can't
  
  
Index: loncom/lonsql
diff -u loncom/lonsql:1.66 loncom/lonsql:1.67
--- loncom/lonsql:1.66	Wed Feb  9 15:39:47 2005
+++ loncom/lonsql	Wed Apr 13 14:39:13 2005
@@ -3,7 +3,7 @@
 # The LearningOnline Network
 # lonsql - LON TCP-MySQL-Server Daemon for handling database requests.
 #
-# $Id: lonsql,v 1.66 2005/02/09 20:39:47 albertel Exp $
+# $Id: lonsql,v 1.67 2005/04/13 18:39:13 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -241,6 +241,7 @@
 
     exit 1;
 } else {
+    unlink('/home/httpd/html/lon-status/mysql.txt');
     $dbh->disconnect;
 }