Skip to content

Commit c33a3d6

Browse files
committed
Add migration for v2.2.1
1 parent f30b82b commit c33a3d6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

inc/Database_Upgrader.php

+11
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function init() {
4141
'2.0.5' => 'upgrade_2_0_5',
4242
'2.0.6' => 'upgrade_2_0_6',
4343
'2.1.0' => 'upgrade_2_1',
44+
'2.2.1' => 'upgrade_2_2_1',
4445
);
4546

4647
$version = get_option( self::OPTION, '0.0.0' );
@@ -195,4 +196,14 @@ protected function upgrade_2_1() {
195196
// Refresh templates library.
196197
Remote::get_instance()->get_templates_info( true );
197198
}
199+
200+
/**
201+
* Migration for v2.2.1
202+
*
203+
* @return void
204+
*/
205+
protected function upgrade_2_2_1() {
206+
// Refresh templates library.
207+
Remote::get_instance()->get_templates_info( true );
208+
}
198209
}

0 commit comments

Comments
 (0)