@@ -252,14 +252,14 @@ discard block |
||
| 252 | 252 | if ($storeViewCode === StoreViewCodes::ADMIN) { |
| 253 | 253 | // log a message and return |
| 254 | 254 | $this->getSubject() |
| 255 | - ->getSystemLogger() |
|
| 256 | - ->debug( |
|
| 257 | - sprintf( |
|
| 258 | - 'Store with code "%s" is not active, no URL rewrites will be created for product with SKU "%s"', |
|
| 259 | - $storeViewCode, |
|
| 260 | - $sku |
|
| 261 | - ) |
|
| 262 | - ); |
|
| 255 | + ->getSystemLogger() |
|
| 256 | + ->debug( |
|
| 257 | + sprintf( |
|
| 258 | + 'Store with code "%s" is not active, no URL rewrites will be created for product with SKU "%s"', |
|
| 259 | + $storeViewCode, |
|
| 260 | + $sku |
|
| 261 | + ) |
|
| 262 | + ); |
|
| 263 | 263 | |
| 264 | 264 | // return without creating any rewrites |
| 265 | 265 | return $this->getRow(); |
@@ -269,14 +269,14 @@ discard block |
||
| 269 | 269 | if (!$this->getSubject()->storeIsActive($storeViewCode)) { |
| 270 | 270 | // log a message and return |
| 271 | 271 | $this->getSubject() |
| 272 | - ->getSystemLogger() |
|
| 273 | - ->debug( |
|
| 274 | - sprintf( |
|
| 275 | - 'Store with code "%s" is not active, no URL rewrites will be created for product with SKU "%s"', |
|
| 276 | - $storeViewCode, |
|
| 277 | - $sku |
|
| 278 | - ) |
|
| 279 | - ); |
|
| 272 | + ->getSystemLogger() |
|
| 273 | + ->debug( |
|
| 274 | + sprintf( |
|
| 275 | + 'Store with code "%s" is not active, no URL rewrites will be created for product with SKU "%s"', |
|
| 276 | + $storeViewCode, |
|
| 277 | + $sku |
|
| 278 | + ) |
|
| 279 | + ); |
|
| 280 | 280 | |
| 281 | 281 | // return without creating any rewrites |
| 282 | 282 | return $this->getRow(); |
@@ -341,8 +341,8 @@ discard block |
||
| 341 | 341 | // query whether or not debug mode has been enabled |
| 342 | 342 | if ($this->getSubject()->isDebugMode()) { |
| 343 | 343 | $this->getSubject() |
| 344 | - ->getSystemLogger() |
|
| 345 | - ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 344 | + ->getSystemLogger() |
|
| 345 | + ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 346 | 346 | } else { |
| 347 | 347 | throw $e; |
| 348 | 348 | } |
@@ -391,18 +391,18 @@ discard block |
||
| 391 | 391 | // do NOT create new URL rewrites, if the product is NOT visible (any more), BUT |
| 392 | 392 | // handle existing URL rewrites, e. g. to remove and clean up the URL rewrites |
| 393 | 393 | if (!$this->isVisible()) { |
| 394 | - // log a message |
|
| 395 | - $this->getSubject() |
|
| 396 | - ->getSystemLogger() |
|
| 397 | - ->debug( |
|
| 398 | - sprintf( |
|
| 399 | - 'Product with SKU "%s" is not visible, so no URL rewrites will be created', |
|
| 400 | - $this->getValue(ColumnKeys::SKU) |
|
| 401 | - ) |
|
| 402 | - ); |
|
| 403 | - |
|
| 404 | - // return without creating any rewrites |
|
| 405 | - return; |
|
| 394 | + // log a message |
|
| 395 | + $this->getSubject() |
|
| 396 | + ->getSystemLogger() |
|
| 397 | + ->debug( |
|
| 398 | + sprintf( |
|
| 399 | + 'Product with SKU "%s" is not visible, so no URL rewrites will be created', |
|
| 400 | + $this->getValue(ColumnKeys::SKU) |
|
| 401 | + ) |
|
| 402 | + ); |
|
| 403 | + |
|
| 404 | + // return without creating any rewrites |
|
| 405 | + return; |
|
| 406 | 406 | } |
| 407 | 407 | |
| 408 | 408 | // load the root category of the default store view (as we're in the |
@@ -432,8 +432,8 @@ discard block |
||
| 432 | 432 | // query whether or not strict mode has been enabled |
| 433 | 433 | if (!$this->getSubject()->isStrictMode()) { |
| 434 | 434 | $this->getSubject() |
| 435 | - ->getSystemLogger() |
|
| 436 | - ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 435 | + ->getSystemLogger() |
|
| 436 | + ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 437 | 437 | $this->mergeStatus( |
| 438 | 438 | array( |
| 439 | 439 | RegistryKeys::NO_STRICT_VALIDATIONS => array( |