// Copyright (c) Pickware GmbH. All rights reserved.
// This file is part of software that is released under a proprietary license.
// You must not copy, modify, distribute, make publicly available, or execute
// its contents or parts thereof without express permission by the copyright
// holder, unless otherwise permitted by law.

/**
 * Store for both language and sub-shops.
 *
 * Since Shopware 4.1.3, an equivalent of this store is available as Shopware.apps.Base.store.ShopLanguage (https://github.com/shopware/shopware/commit/586161e30179c5dd89f6692b621eaed5bd737a4e).
 * To ensure compatibility with older versions, we need to define our own version of this store instead.
 *
 * TODO: Delete this class as soon as Shopware 4.1.3 is a minimum requirement of our plugins.
 */
Ext.define('Shopware.apps.ViisonShippingCommonConfig.store.ShopLanguage', {
    extend: 'Shopware.apps.Base.store.Shop',

    /**
     * Clear filters so that not only the main shops, but also language subshops are part of this store
     */
    filters: [ ]
}).create();
