Remove meta keywords from page importer
authorMatthias Schmidt <gravatronics@live.com>
Fri, 23 Oct 2020 14:15:55 +0000 (16:15 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 23 Oct 2020 14:15:55 +0000 (16:15 +0200)
wcfsetup/install/files/lib/system/importer/PageImporter.class.php

index 74ffe89c389209d7d0148373d38319e0051ee8eb..24bc94bedc886a6e82ad08fc44765e3e20d84889 100644 (file)
@@ -40,9 +40,8 @@ class PageImporter extends AbstractImporter {
                                'title' => (!empty($contentData['title']) ? $contentData['title'] : ''),
                                'content' => (!empty($contentData['content']) ? $contentData['content'] : ''),
                                'metaDescription' => (!empty($contentData['metaDescription']) ? $contentData['metaDescription'] : ''),
-                               'metaKeywords' => (!empty($contentData['content']) ? $contentData['content'] : ''),
                                'customURL' => (!empty($contentData['customURL']) ? $contentData['customURL'] : ''),
-                               'hasEmbeddedObjects' => (!empty($contentData['hasEmbeddedObjects']) ? $contentData['hasEmbeddedObjects'] : 0)
+                               'hasEmbeddedObjects' => (!empty($contentData['hasEmbeddedObjects']) ? $contentData['hasEmbeddedObjects'] : 0),
                        ];
                }
                if (empty($contents)) return 0;
@@ -80,9 +79,8 @@ class PageImporter extends AbstractImporter {
                                'title' => $contentData['title'],
                                'content' => $contentData['content'],
                                'metaDescription' => $contentData['metaDescription'],
-                               'metaKeywords' => $contentData['metaKeywords'],
                                'customURL' => $contentData['customURL'],
-                               'hasEmbeddedObjects' => $contentData['hasEmbeddedObjects']
+                               'hasEmbeddedObjects' => $contentData['hasEmbeddedObjects'],
                        ]);
                }