Skip to content

Commit

Permalink
Update Md5 to Sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Jun 6, 2023
1 parent 7bf22dc commit 75005e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Model/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Module
const URL = "https://updates.magepal.com/extensions.json";
const CACHE_KEY = 'magepal_extension_installed_list';
const SESSION_KEY = 'magepal-core-notification-data';
const DATA_VERSION = '1.0.3';
const DATA_VERSION = '1.0.4';
const LIFE_TIME = 604800;

/** @var int $updateCounter */
Expand Down Expand Up @@ -177,7 +177,7 @@ protected function setCountCache($amount)
*/
public function getHash()
{
return md5(json_encode($this->getPostData()));
return sha1(json_encode($this->getPostData()));
}

public function getProductFeed()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"magento/framework": "*"
},
"type": "magento2-module",
"version": "1.1.12",
"version": "1.1.13",
"autoload": {
"files": [
"registration.php"
Expand Down

0 comments on commit 75005e3

Please sign in to comment.