[geeklog-cvs] geeklog-1.3/system lib-database.php,1.24,1.25

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon May 5 12:52:37 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/system
In directory internal.geeklog.net:/tmp/cvs-serv5089/system

Modified Files:
	lib-database.php 
Log Message:
Replaced separate commentspeedlimit and submitspeedlimit tables with a general speedlimit table and new COM_ functions operating on it.


Index: lib-database.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/lib-database.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** lib-database.php	23 Sep 2002 08:27:24 -0000	1.24
--- lib-database.php	5 May 2003 16:52:35 -0000	1.25
***************
*** 57,61 ****
  $_TABLES['commentmodes']        = $_DB_table_prefix . 'commentmodes';
  $_TABLES['comments']            = $_DB_table_prefix . 'comments';
- $_TABLES['commentspeedlimit']   = $_DB_table_prefix . 'commentspeedlimit';
  $_TABLES['cookiecodes']         = $_DB_table_prefix . 'cookiecodes';
  $_TABLES['dateformats']         = $_DB_table_prefix . 'dateformats';
--- 57,60 ----
***************
*** 78,85 ****
  $_TABLES['sessions']            = $_DB_table_prefix . 'sessions';
  $_TABLES['sortcodes']           = $_DB_table_prefix . 'sortcodes';
  $_TABLES['statuscodes']         = $_DB_table_prefix . 'statuscodes';
  $_TABLES['stories']             = $_DB_table_prefix . 'stories';
  $_TABLES['storysubmission']     = $_DB_table_prefix . 'storysubmission';
- $_TABLES['submitspeedlimit']    = $_DB_table_prefix . 'submitspeedlimit';
  $_TABLES['topics']              = $_DB_table_prefix . 'topics';
  $_TABLES['tzcodes']             = $_DB_table_prefix . 'tzcodes';
--- 77,84 ----
  $_TABLES['sessions']            = $_DB_table_prefix . 'sessions';
  $_TABLES['sortcodes']           = $_DB_table_prefix . 'sortcodes';
+ $_TABLES['speedlimit']          = $_DB_table_prefix . 'speedlimit';
  $_TABLES['statuscodes']         = $_DB_table_prefix . 'statuscodes';
  $_TABLES['stories']             = $_DB_table_prefix . 'stories';
  $_TABLES['storysubmission']     = $_DB_table_prefix . 'storysubmission';
  $_TABLES['topics']              = $_DB_table_prefix . 'topics';
  $_TABLES['tzcodes']             = $_DB_table_prefix . 'tzcodes';
***************
*** 94,99 ****
  $_TABLES['staticpage']          = $_DB_table_prefix . 'staticpage';
  
! // this table isn't used by Geeklog any more, but the table name is needed
  // when upgrading from old versions
  $_TABLES['userevent']           = $_DB_table_prefix . 'userevent';
  
--- 93,100 ----
  $_TABLES['staticpage']          = $_DB_table_prefix . 'staticpage';
  
! // these tables aren't used by Geeklog any more, but the table names are needed
  // when upgrading from old versions
+ $_TABLES['commentspeedlimit']   = $_DB_table_prefix . 'commentspeedlimit';
+ $_TABLES['submitspeedlimit']    = $_DB_table_prefix . 'submitspeedlimit';
  $_TABLES['userevent']           = $_DB_table_prefix . 'userevent';
  





More information about the geeklog-cvs mailing list