Created
June 19, 2020 16:00
-
-
Save AurelienLavorel/3f39e68346d30bb8b3435bc82be5a1d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vendor/magento/framework/App/View/Deployment/Version.php b/vendor/magento/framework/App/View/Deployment/Version.php | |
| index 05c8e39f524658b559ad7d3df37d598c443c12ef..f28c42cd2751caa14716efffe5a757f9988200f7 100644 | |
| --- a/vendor/magento/framework/App/View/Deployment/Version.php | |
| +++ b/vendor/magento/framework/App/View/Deployment/Version.php | |
| @@ -84,10 +84,7 @@ | |
| ConfigOptionsListConstants::CONFIG_PATH_SCD_ON_DEMAND_IN_PRODUCTION | |
| ) | |
| ) { | |
| - $this->getLogger()->critical('Can not load static content version.'); | |
| - throw new \UnexpectedValueException( | |
| - "Unable to retrieve deployment version of static files from the file system." | |
| - ); | |
| + return 1234; | |
| } | |
| $result = $this->generateVersion(); | |
| $this->versionStorage->save($result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment