We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa19a5 commit 81393b8Copy full SHA for 81393b8
app/code/Magento/UrlRewrite/Model/Storage/DbStorage.php
@@ -183,9 +183,9 @@ private function deleteOldUrls(array $urls): void
183
$checkOldUrlsSelect = clone $oldUrlsSelect;
184
$checkOldUrlsSelect->reset(Select::COLUMNS);
185
$checkOldUrlsSelect->columns('count(*)');
186
- $hasOldUrls = (bool)$this->connection->fetchOne($checkOldUrlsSelect);
+ $hasOldUrls = (bool)$this->connection->fetchOne($checkOldUrlsSelect);
187
188
- if ($hasOldUrls) {
+ if ($hasOldUrls) {
189
$this->connection->query(
190
$oldUrlsSelect->deleteFromSelect(
191
$this->resource->getTableName(self::TABLE_NAME)
0 commit comments