[geeklog-cvs] geeklog: Ensure consistent spelling of function get_SP_ver

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Oct 5 15:49:57 EDT 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/01b06f597904
changeset: 6431:01b06f597904
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Oct 05 21:49:47 2008 +0200
description:
Ensure consistent spelling of function get_SP_ver

diffstat:

1 file changed, 4 insertions(+), 4 deletions(-)
public_html/admin/install/index.php |    8 ++++----

diffs (39 lines):

diff -r c2aa8411a3f6 -r 01b06f597904 public_html/admin/install/index.php
--- a/public_html/admin/install/index.php	Sun Oct 05 20:33:33 2008 +0200
+++ b/public_html/admin/install/index.php	Sun Oct 05 21:49:47 2008 +0200
@@ -109,7 +109,7 @@
 * Note: Needed for upgrades from old versions - don't remove.
 *
 */
-function get_SP_Ver()
+function get_SP_ver()
 {
     global $_TABLES;
 
@@ -1357,7 +1357,7 @@
             INST_updateDB($_SQL);
 
             // upgrade Static Pages plugin
-            $spversion = get_SP_ver ();
+            $spversion = get_SP_ver();
             if ($spversion == 1) { // original version
                 DB_query ("ALTER TABLE {$_TABLES['staticpage']} "
                     . "ADD COLUMN group_id mediumint(8) unsigned DEFAULT '1',"
@@ -1431,7 +1431,7 @@
             DB_query ("INSERT INTO {$_TABLES['syndication']} (title, description, limits, content_length, filename, charset, language, is_enabled, updated, update_info) VALUES ('{$sitename}', '{$siteslogan}', '{$_CONF['rdf_limit']}', {$_CONF['rdf_storytext']}, '{$filename}', '{$_CONF['default_charset']}', '{$_CONF['rdf_language']}', {$_CONF['backend']}, '0000-00-00 00:00:00', NULL)");
 
             // upgrade static pages plugin
-            $spversion = get_SP_ver ();
+            $spversion = get_SP_ver();
             if ($spversion > 0) {
                 if ($spversion < 4) {
                     if (!isset ($_SP_CONF['in_block'])) {
@@ -1499,7 +1499,7 @@
                 }
             }
 
-            $spversion = get_SP_ver ();
+            $spversion = get_SP_ver();
             if ($spversion > 0) {
                 // no database changes this time, but set new version number
                 DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.4.1', pi_gl_version = '1.3.10' WHERE pi_name = 'staticpages'");



More information about the geeklog-cvs mailing list