Skip to content

Commit 7f115fd

Browse files
author
joweecaquicla
committed
magento/adobe-stock-integration#1712: Remove DataObject usage from OpenDialogUrl provider - remove logs
1 parent 68b35c5 commit 7f115fd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/code/Magento/MediaGalleryIntegration/Plugin/NewMediaGalleryOpenDialogUrl.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ public function __construct(ConfigInterface $config)
3333
*/
3434
public function afterGet(OpenDialogUrl $subject, string $result)
3535
{
36-
$writer = new \Zend\Log\Writer\Stream(BP . '/var/log/newmediagalleryplugin.log');
37-
$logger = new \Zend\Log\Logger();
38-
$logger->addWriter($writer);
39-
$logger->debug(__METHOD__);
40-
$logger->debug("PASSING HERE!");
4136
return $this->config->isEnabled() ? 'media_gallery/index/index' : $result;
4237
}
4338
}

0 commit comments

Comments
 (0)