Skip to content

Commit

Permalink
Update Geeklog version to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed Sep 13, 2018
1 parent 14a7cb0 commit 944f275
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
8 changes: 7 additions & 1 deletion public_html/admin/install/classes/installer.class.php
Expand Up @@ -6,7 +6,7 @@
class Installer
{
// Geeklog version
const GL_VERSION = '2.2.0';
const GL_VERSION = '2.2.1';

// System requirements
const SUPPORTED_PHP_VER = '5.3.3';
Expand Down Expand Up @@ -2922,6 +2922,12 @@ private function doDatabaseUpgrades($currentGlVersion, $checkForMessage = false)
$_SQL = array();
break;

case '2.2.0':
// there were no database changes in 2.2.0

$currentGlVersion = '2.2.1';
break;

default:
$done = true;
break;
Expand Down
28 changes: 14 additions & 14 deletions public_html/admin/install/devel-db-update.php
Expand Up @@ -420,8 +420,8 @@ function update_DatabaseFor212()

$display = '<h2>Development Database Update</h2>';

$gl_prev_version = "2.1.3";
$gl_devel_version = "2.2.0";
$gl_prev_version = "2.2.0";
$gl_devel_version = "2.2.1";

$display .= "<p>This update is for Geeklog Core and Core Plugins. Can include changes to database structure and data, along with configuration options. All Core plugins must be installed when you run this script.</p>
<p>Update works for Geeklog $gl_prev_version up to latest Geeklog development version for $gl_devel_version.</p>";
Expand Down Expand Up @@ -462,28 +462,28 @@ function update_DatabaseFor212()
$new_plugin_version = false;
switch ($pi_name) {
case 'staticpages':
$new_plugin_version = true;
$plugin_version = '1.6.9';
$new_plugin_version = false;
$plugin_version = '1.7.0';
break;
case 'spamx':
$new_plugin_version = true;
$plugin_version = '1.3.4';
$new_plugin_version = false;
$plugin_version = '1.3.5';
break;
case 'links':
$new_plugin_version = true;
$plugin_version = '2.1.5';
$new_plugin_version = false;
$plugin_version = '2.1.6';
break;
case 'polls':
$new_plugin_version = true;
$plugin_version = '2.1.8';
$new_plugin_version = false;
$plugin_version = '2.1.9';
break;
case 'calendar':
$new_plugin_version = true;
$plugin_version = '1.1.5';
$new_plugin_version = false;
$plugin_version = '1.1.6';
break;
case 'xmlsitemap':
$plugin_version = '2.0.0';
$new_plugin_version = true;
$plugin_version = '2.0.1';
$new_plugin_version = false;
break;
}

Expand Down
2 changes: 1 addition & 1 deletion public_html/siteconfig.php.dist
Expand Up @@ -87,5 +87,5 @@ if (!defined('LB')) {
}

if (!defined('VERSION')) {
define('VERSION', '2.2.0');
define('VERSION', '2.2.1');
}

0 comments on commit 944f275

Please sign in to comment.