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

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sun May 30 12:44:15 EDT 2004


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

Modified Files:
	mysql_1.3.9_to_1.3.10.php 
Log Message:
Make sure the older_stories block is of type "gldefault" (for older database, like the one for geeklog.net ...)


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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** mysql_1.3.9_to_1.3.10.php	21 May 2004 19:34:58 -0000	1.5
--- mysql_1.3.9_to_1.3.10.php	30 May 2004 16:44:13 -0000	1.6
***************
*** 97,99 ****
--- 97,102 ----
  $_SQL[] = "ALTER TABLE {$_TABLES['comments']} ADD INDEX comments_rht(rht)";
  
+ // make sure the older_stories block is of type "gldefault"
+ $_SQL[] = "UPDATE {$_TABLES['blocks']} SET type = 'gldefault' WHERE name = 'older_stories'";
+ 
  ?>




More information about the geeklog-cvs mailing list