Skip to content

Commit

Permalink
Don't offer customer group search attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Feb 10, 2019
1 parent da64baf commit 4a57ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/custom/src/MShop/Customer/Manager/FosUser.php
Expand Up @@ -246,7 +246,7 @@ class FosUser
public function cleanup( array $siteids )
{
$path = 'mshop/customer/manager/submanagers';
$default = ['address', 'group', 'lists', 'property'];
$default = ['address', 'lists', 'property'];

foreach( $this->getContext()->getConfig()->get( $path, $default ) as $domain ) {
$this->getObject()->getSubManager( $domain )->cleanup( $siteids );
Expand Down Expand Up @@ -275,7 +275,7 @@ public function deleteItems( array $ids )
public function getSearchAttributes( $withsub = true )
{
$path = 'mshop/customer/manager/submanagers';
$default = ['address', 'group', 'lists', 'property'];
$default = ['address', 'lists', 'property'];

return $this->getSearchAttributesBase( $this->searchConfig, $path, $default, $withsub );
}
Expand Down

0 comments on commit 4a57ff8

Please sign in to comment.