Skip to content

Commit 507cd42

Browse files
committed
Start using the file contents for calculating the hash again instead of the modified timestamp.
1 parent b3a1c7e commit 507cd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Translation/Model/FileManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ public function updateTranslationFileContent($content)
110110
*/
111111
public function getTranslationFileVersion()
112112
{
113-
return sha1($this->getTranslationFileTimestamp() . $this->getTranslationFilePath());
113+
return sha1(sha1_file($this->getTranslationFileFullPath()) . $this->getTranslationFilePath());
114114
}
115115
}

0 commit comments

Comments
 (0)