Skip to content

Commit 22d0925

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-43302: Prepare pull request for M11 nord changes
1 parent 84eaffa commit 22d0925

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

app/code/Magento/CatalogUrlRewrite/etc/setup/events.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../lib/internal/Magento/Framework/Event/etc/events.xsd">
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
99
<event name="catalog_product_save_after">
1010
<observer name="process_url_rewrite_saving" instance="\Magento\CatalogUrlRewrite\Observer\ProductProcessUrlRewriteSavingObserver" method="execute"/>
1111
</event>

app/code/Magento/SampleData/cli_commands.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
\Magento\Framework\Console\CommandLocator::register('Magento\SampleData\Console\CommandList');
7+
if (PHP_SAPI == 'cli') {
8+
\Magento\Framework\Console\CommandLocator::register('Magento\SampleData\Console\CommandList');
9+
}

app/code/Magento/SampleData/composer.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
"OSL-3.0",
1515
"AFL-3.0"
1616
],
17-
"extra": {
18-
"map": [
19-
[
20-
"*",
21-
"Magento/SampleData"
22-
]
23-
]
24-
},
2517
"autoload": {
2618
"files": [
2719
"cli_commands.php",

app/code/Magento/SampleData/etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
99
<module name="Magento_SampleData" setup_version="2.0.0">
1010
</module>
1111
</config>

app/code/Magento/SampleData/registration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
\Magento\Framework\Component\ComponentRegistrar::register(
8-
\Magento\Framework\Component\ComponentRegistrar::MODULE,
9-
'Magento_SampleData',
8+
\Magento\Framework\Component\ComponentRegistrar::MODULE,
9+
'Magento_SampleData',
1010
__DIR__
1111
);

0 commit comments

Comments
 (0)