Skip to content

Commit

Permalink
Release 4.0.42
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Sep 30, 2022
1 parent 2867b77 commit b093656
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.0.42
- Rollback to remove functionality of sending version to payment portal

# 4.0.41
- Sends to the payment portal a more specific version of shopware being used.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tail -f var/log/wallee_payment*.log

## Documentation

[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.41/docs/en/documentation.html)
[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.42/docs/en/documentation.html)

## License

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
"wallee/sdk": "3.0.1"
},
"type": "shopware-platform-plugin",
"version": "4.0.41"
"version": "4.0.42"
}
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.41/">
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.42/">
Source
</a>
</li>
Expand Down
7 changes: 2 additions & 5 deletions src/Core/Util/Analytics/Analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace WalleePayment\Core\Util\Analytics;

use Composer\InstalledVersions;
use Wallee\Sdk\ApiClient;

/**
Expand All @@ -21,12 +20,10 @@ class Analytics {
*/
public static function getDefaultData()
{
$shop_version = InstalledVersions::getVersion('shopware/core');
[$major_version, $minor_version, $rest] = explode('.', $shop_version, 3);
return [
self::SHOP_SYSTEM => 'shopware',
self::SHOP_SYSTEM_VERSION => $shop_version,
self::SHOP_SYSTEM_AND_VERSION => 'shopware-' . $major_version . '.' . $minor_version,
self::SHOP_SYSTEM_VERSION => '6',
self::SHOP_SYSTEM_AND_VERSION => 'shopware-6',
];
}

Expand Down

0 comments on commit b093656

Please sign in to comment.