File tree Expand file tree Collapse file tree 5 files changed +7
-13
lines changed
CatalogUrlRewrite/etc/setup Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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);
You can’t perform that action at this time.
0 commit comments