[geeklog-cvs] geeklog: Need to handle "upgrade" from plugin version 1.5.1

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Aug 8 15:18:25 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/0a579edfe4b0
changeset: 7237:0a579edfe4b0
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Aug 08 20:57:56 2009 +0200
description:
Need to handle "upgrade" from plugin version 1.5.1

diffstat:

 plugins/staticpages/functions.inc |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r f1efc0a11614 -r 0a579edfe4b0 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Sat Aug 08 19:51:31 2009 +0200
+++ b/plugins/staticpages/functions.inc	Sat Aug 08 20:57:56 2009 +0200
@@ -1026,6 +1026,11 @@
     $done = false;
     while (! $done) {
         switch ($current_version) {
+        case '1.5.1':
+            // no db changes
+            $current_version = '1.6.0';
+            break;
+
         case '1.6.0':
             if (isset($_UPDATES[$current_version])) {
                 $_SQL = $_UPDATES[$current_version];



More information about the geeklog-cvs mailing list