[geeklog-cvs] geeklog: Fixed bug where upgrade did not reset hidenewstaticpage...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Mar 9 19:08:51 EST 2010
changeset 7773:b15e25c08b94
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b15e25c08b94
user: Tom <websitemaster at cogeco.net>
date: Tue Mar 09 18:54:04 2010 -0500
description:
Fixed bug where upgrade did not reset hidenewstaticpages properly
diffstat:
plugins/staticpages/sql/mssql_updates.php | 2 ++
plugins/staticpages/sql/mysql_updates.php | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diffs (24 lines):
diff -r 0c97fecbe5b8 -r b15e25c08b94 plugins/staticpages/sql/mssql_updates.php
--- a/plugins/staticpages/sql/mssql_updates.php Tue Mar 09 18:52:56 2010 -0500
+++ b/plugins/staticpages/sql/mssql_updates.php Tue Mar 09 18:54:04 2010 -0500
@@ -123,6 +123,8 @@
0, 0, 0, 127, true, 'staticpages');
$c->add('sort_list_by', $_SP_DEFAULT['sort_list_by'], 'select',
0, 0, 4, 35, true, 'staticpages');
+
+ $c->del('hidenewstaticpages','staticpages');
$c->add('hidenewstaticpages',$_SP_DEFAULT['hide_new_staticpages'],'select',
0, 1, 5, 20, TRUE, 'staticpages');
diff -r 0c97fecbe5b8 -r b15e25c08b94 plugins/staticpages/sql/mysql_updates.php
--- a/plugins/staticpages/sql/mysql_updates.php Tue Mar 09 18:52:56 2010 -0500
+++ b/plugins/staticpages/sql/mysql_updates.php Tue Mar 09 18:54:04 2010 -0500
@@ -125,6 +125,8 @@
0, 0, 0, 127, true, 'staticpages');
$c->add('sort_list_by', $_SP_DEFAULT['sort_list_by'], 'select',
0, 0, 4, 35, true, 'staticpages');
+
+ $c->del('hidenewstaticpages','staticpages');
$c->add('hidenewstaticpages',$_SP_DEFAULT['hide_new_staticpages'],'select',
0, 1, 5, 20, TRUE, 'staticpages');
More information about the geeklog-cvs
mailing list