[geeklog-cvs] geeklog-1.3/sql/updates mysql_1.3.9_to_1.3.10.php,1.17,1.18

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Sep 15 13:56:14 EDT 2004


Update of /var/cvs/geeklog-1.3/sql/updates
In directory www:/tmp/cvs-serv14335/updates

Modified Files:
	mysql_1.3.9_to_1.3.10.php 
Log Message:
Fixed name of 'spamx' table (was hard-coded to 'gl_spamx')


Index: mysql_1.3.9_to_1.3.10.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/sql/updates/mysql_1.3.9_to_1.3.10.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mysql_1.3.9_to_1.3.10.php	14 Sep 2004 12:28:28 -0000	1.17
--- mysql_1.3.9_to_1.3.10.php	15 Sep 2004 17:56:12 -0000	1.18
***************
*** 156,160 ****
  	. " name varchar(20) NOT NULL default '',"
  	. " value varchar(255) NOT NULL default '',"
! 	. " INDEX name (name)"
  	. ") TYPE=MyISAM
  ";
--- 156,160 ----
  	. " name varchar(20) NOT NULL default '',"
  	. " value varchar(255) NOT NULL default '',"
! 	. " PRIMARY KEY  (name)"
  	. ") TYPE=MyISAM
  ";
***************
*** 162,169 ****
  // Ok, the rest of the file is data
  $_DATA[] = "INSERT INTO {$_TABLES['plugins']} (pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage) VALUES ('spamx', '1.0.1','1.3.10',1,'http://www.pigstye.net/gplugs/staticpages/index.php/spamx') ";
! $_DATA[] = "INSERT INTO gl_spamx VALUES ('Action','DeleteComment')";
! $_DATA[] = "INSERT INTO gl_spamx VALUES ('Examine','BlackList')";
! $_DATA[] = "INSERT INTO gl_spamx VALUES ('Examine','MTBlackList')";
! $_DATA[] = "INSERT INTO gl_spamx VALUES ('Personal','zaraz.com')";
  
  ?>
--- 162,169 ----
  // Ok, the rest of the file is data
  $_DATA[] = "INSERT INTO {$_TABLES['plugins']} (pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage) VALUES ('spamx', '1.0.1','1.3.10',1,'http://www.pigstye.net/gplugs/staticpages/index.php/spamx') ";
! $_DATA[] = "INSERT INTO {$_TABLES['spamx']} VALUES ('Action','DeleteComment')";
! $_DATA[] = "INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','BlackList')";
! $_DATA[] = "INSERT INTO {$_TABLES['spamx']} VALUES ('Examine','MTBlackList')";
! $_DATA[] = "INSERT INTO {$_TABLES['spamx']} VALUES ('Personal','zaraz.com')";
  
  ?>




More information about the geeklog-cvs mailing list