diff --git a/plugins/polls/autoinstall.php b/plugins/polls/autoinstall.php index 3e7f4569d..dd1c9cfba 100644 --- a/plugins/polls/autoinstall.php +++ b/plugins/polls/autoinstall.php @@ -51,8 +51,8 @@ function plugin_autoinstall_polls($pi_name) $info = array( 'pi_name' => $pi_name, 'pi_display_name' => $pi_display_name, - 'pi_version' => '2.2.0', - 'pi_gl_version' => '2.1.1', + 'pi_version' => '2.2.1', + 'pi_gl_version' => '2.2.2', 'pi_homepage' => 'https://www.geeklog.net/' ); diff --git a/plugins/polls/functions.inc b/plugins/polls/functions.inc index cdf467220..fa4edb262 100644 --- a/plugins/polls/functions.inc +++ b/plugins/polls/functions.inc @@ -1398,6 +1398,10 @@ function plugin_upgrade_polls() $current_version = '2.2.0'; // Ships with Geeklog v2.2.1 break; + case '2.2.0': + $current_version = '2.2.1'; // Ships with Geeklog v2.2.2 + break; + default: $done = true; }