| @@ -324,9 +324,9 @@ | ||
| 324 | 324 | // bail if we don't know the previous version |
| 325 | 325 | return; |
| 326 | 326 | } |
| 327 | 327 | |
| 328 | - $migrations = array( 16, 11, 16, 17, 23, 25, 86, 90, 97, 98, 101, 104 ); | |
| 328 | + $migrations = array( 16, 11, 16, 17, 23, 25, 86, 90, 97, 98, 101 ); | |
| 329 | 329 | foreach ( $migrations as $migration ) { |
| 330 | 330 | if ( FrmAppHelper::$db_version >= $migration && $old_db_version < $migration ) { |
| 331 | 331 | $function_name = 'migrate_to_' . $migration; |
| 332 | 332 | $this->$function_name(); |
| @@ -392,26 +392,8 @@ | ||
| 392 | 392 | |
| 393 | 393 | do_action( 'frm_after_uninstall' ); |
| 394 | 394 | |
| 395 | 395 | return true; |
| 396 | - } | |
| 397 | - | |
| 398 | - /** | |
| 399 | - * In older versions of Lite, it's possible we've saved the wrong location ID. | |
| 400 | - * So force it to get valid values again. | |
| 401 | - * | |
| 402 | - * @since 6.25 | |
| 403 | - * | |
| 404 | - * @return void | |
| 405 | - */ | |
| 406 | - private function migrate_to_104() { | |
| 407 | - if ( FrmSquareLiteConnectHelper::get_merchant_id( 'test' ) ) { | |
| 408 | - FrmSquareLiteConnectHelper::get_location_id( true, 'test' ); | |
| 409 | - } | |
| 410 | - | |
| 411 | - if ( FrmSquareLiteConnectHelper::get_merchant_id( 'live' ) ) { | |
| 412 | - FrmSquareLiteConnectHelper::get_location_id( true, 'live' ); | |
| 413 | - } | |
| 414 | 396 | } |
| 415 | 397 | |
| 416 | 398 | /** |
| 417 | 399 | * Disables summary email for multisite (not the main site) if recipient setting isn't changed. |