|
@@ -196,10 +196,10 @@ discard block |
|
|
block discarded – undo |
|
196
|
196
|
* @see controller/jobs/catalog/export/sitemap/max-query |
|
197
|
197
|
* @see controller/jobs/catalog/export/sitemap/changefreq |
|
198
|
198
|
*/ |
|
199
|
|
- $default = array('gzip-mode' => 'wb'); |
|
|
199
|
+ $default = array( 'gzip-mode' => 'wb' ); |
|
200
|
200
|
$options = $config->get( 'controller/jobs/catalog/export/sitemap/container/options', $default ); |
|
201
|
201
|
|
|
202
|
|
- if ( $location === null || $location === '' ) { |
|
|
202
|
+ if( $location === null || $location === '' ) { |
|
203
|
203
|
$msg = sprintf( 'Required configuration for "%1$s" is missing', 'controller/jobs/catalog/export/sitemap/location' ); |
|
204
|
204
|
throw new \Aimeos\Controller\Jobs\Exception( $msg ); |
|
205
|
205
|
} |
|
@@ -420,7 +420,7 @@ discard block |
|
|
block discarded – undo |
|
420
|
420
|
$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' ); |
|
421
|
421
|
|
|
422
|
422
|
$search = $manager->createSearch( $default ); |
|
423
|
|
- $search->setSortations( array($search->sort( '+', 'catalog.id' )) ); |
|
|
423
|
+ $search->setSortations( array( $search->sort( '+', 'catalog.id' ) ) ); |
|
424
|
424
|
$search->setSlice( 0, $maxQuery ); |
|
425
|
425
|
|
|
426
|
426
|
$content = $this->createContent( $container, $filenum ); |
Please login to merge, or discard this patch.