We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 1d9aaa5d authored by Rik ter Beek's avatar Rik ter Beek

#66 use findSource method instead of deprecated findRelativeSourceFilePath

parent 2944c2c7
......@@ -720,10 +720,9 @@ class Data extends AbstractHelper
$asset = $this->createAsset(
'Adyen_Payment::images/logos/' . $logoName . '.png'
);
$placeholder = $this->findRelativeSourceFilePath($asset);
$icon = null;
$placeholder = $this->assetSource->findSource($asset);
if ($placeholder) {
list($width, $height) = getimagesize($asset->getSourceFile());
$icon = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment