Module DHL : modif pour rajout de données dans l'envoi du mail

This commit is contained in:
2020-12-07 17:47:25 +01:00
parent ee21283692
commit c388c942b5
2 changed files with 3 additions and 26 deletions

View File

@@ -2,7 +2,6 @@
namespace DHL;
use DHL\Model\Config\DHLConfigValue;
use DHL\Model\DHLDeliveryPrice;
use DHL\Model\DHLDeliveryPriceQuery;
use Propel\Runtime\ActiveQuery\Criteria;
@@ -184,12 +183,4 @@ class DHL extends AbstractDeliveryModule
return $postage;
}
// public function update($currentVersion, $newVersion, ConnectionInterface $con = null)
// {
// $uploadDir = __DIR__ . '/Config/prices.json';
// if (is_readable($uploadDir) && DHL::getConfigValue(DHLConfigValue::PRICES, null) == null) {
// DHL::setConfigValue(DHLConfigValue::PRICES, file_get_contents($uploadDir));
// }
// }
}