cvs: docweb /scripts notes_stats.php

[email protected] ("Nuno Lopes")
Newsgroups php.doc.web
Message-ID <cvsnlopess1107515158@cvsserver>
nlopess		Fri Feb  4 06:05:58 2005 EDT

  Modified files:              
    /docweb/scripts	notes_stats.php 
  Log:
  remove the index, as it isnt used
  
http://cvs.php.net/diff.php/docweb/scripts/notes_stats.php?r1=1.3&r2=1.4&ty=u
Index: docweb/scripts/notes_stats.php
diff -u docweb/scripts/notes_stats.php:1.3 docweb/scripts/notes_stats.php:1.4
--- docweb/scripts/notes_stats.php:1.3	Tue Feb  1 12:34:44 2005
+++ docweb/scripts/notes_stats.php	Fri Feb  4 06:05:58 2005
@@ -17,7 +17,7 @@
 |          Vincent Gevers <[email protected]>                            |
 | Credits: Sean Coates <[email protected]>                                  |
 +----------------------------------------------------------------------+
-$Id: notes_stats.php,v 1.3 2005/02/01 17:34:44 nlopess Exp $
+$Id: notes_stats.php,v 1.4 2005/02/04 11:05:58 nlopess Exp $
 */
 
 require_once '../build-ops.php';
@@ -84,6 +84,8 @@
 
 } // end for loop
 
+@fclose($s);
+
 $sql .= "UPDATE info SET last_article=$last, build_date=$last_update;";
 
 sqlite_query($sqlite, $sql);
@@ -141,7 +143,6 @@
   time INTEGER
 );
 
-CREATE INDEX time ON notes (time);
 INSERT INTO info VALUES(1, 0);
 SQL;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.