Skip to content

Commit

Permalink
[TASK] Remove Order Statistics Module
Browse files Browse the repository at this point in the history
Related: extcode#288
  • Loading branch information
extcode committed May 5, 2020
1 parent f282cda commit 62d46d3
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 249 deletions.
87 changes: 0 additions & 87 deletions Classes/Controller/Backend/StatisticController.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. include:: ../../Includes.txt

===============================================
Breaking: #288 - Remove Order Statistics Module
===============================================

See :issue:`288`

Description
===========

This module in the backend was poorly supported and offered few possibilities.
It is to be replaced in TYPO3 v10 by one or more Dashboard Widgets.

Affected Installations
======================

Installations in which the backend users have used this module intensively can no longer access it.
Possibly the widgets offer an adequate replacement.

Otherwise the functionality can be provided by a small extension of your own.

Migration
=========

No replacement for this module is planned. Should there be a need, such an extension can be provided.

.. index:: Backend
20 changes: 20 additions & 0 deletions Documentation/Changelog/7.0/Index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. include:: ../../Includes.txt

6.8 Changes
===========

**Table of contents**

.. contents::
:local:
:depth: 1

Breaking Changes
^^^^^^^^^^^^^^^^

.. toctree::
:maxdepth: 1
:titlesonly:
:glob:

Breaking-*
1 change: 1 addition & 0 deletions Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ChangeLog
:maxdepth: 5
:titlesonly:

7.0/Index
6.8/Index
6.7/Index
6.6/Index
Expand Down
1 change: 0 additions & 1 deletion Documentation/EditorManual/Modules/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Module
:titlesonly:

Orders/Index
OrderStatistics/Index
59 changes: 0 additions & 59 deletions Resources/Private/Backend/Partials/Order/Filter/Statistic.html

This file was deleted.

56 changes: 0 additions & 56 deletions Resources/Private/Backend/Templates/Backend/Statistic/Show.html

This file was deleted.

3 changes: 0 additions & 3 deletions Resources/Private/Language/de.locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -710,9 +710,6 @@
<source>Download Delivery Note Document</source>
<target>Lieferschein herunterladen</target>
</trans-unit>
<trans-unit id="tx_cart.controller.order.action.statistic">
<source>Statistic of Orders</source>
</trans-unit>
<trans-unit id="tx_cart.controller.order.action.show_cart.block-header.billing_address">
<source>Billing Address</source>
<target>Rechnungsadresse</target>
Expand Down
4 changes: 0 additions & 4 deletions Resources/Private/Language/de.locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
<source>Orders</source>
<target>Bestellungen</target>
</trans-unit>
<trans-unit id="tx_cart.module.order_statistics">
<source>Order Statistics</source>
<target>Bestellstatistik</target>
</trans-unit>
<trans-unit id="tx_cart.module.coupons">
<source>Coupons</source>
<target>Gutscheine</target>
Expand Down
3 changes: 0 additions & 3 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,6 @@
<trans-unit id="tx_cart.controller.order.action.downloadDeliveryDocument">
<source>Download Delivery Note Document</source>
</trans-unit>
<trans-unit id="tx_cart.controller.order.action.statistic">
<source>Statistic of Orders</source>
</trans-unit>
<trans-unit id="tx_cart.controller.order.action.show_cart.block-header.billing_address">
<source>Billing Address</source>
</trans-unit>
Expand Down
3 changes: 0 additions & 3 deletions Resources/Private/Language/locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
<trans-unit id="tx_cart.module.orders">
<source>Orders</source>
</trans-unit>
<trans-unit id="tx_cart.module.order_statistics">
<source>Order Statistics</source>
</trans-unit>
<trans-unit id="tx_cart.module.coupons">
<source>Coupons</source>
</trans-unit>
Expand Down
17 changes: 0 additions & 17 deletions Resources/Public/Icons/module_order_statistics.svg

This file was deleted.

16 changes: 0 additions & 16 deletions ext_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,4 @@
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement',
]
);

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Cart',
'Cart',
'OrderStatistics',
'',
[
\Extcode\Cart\Controller\Backend\StatisticController::class => 'show',
],
[
'access' => 'user, group',
'icon' => 'EXT:cart/Resources/Public/Icons/module_order_statistics.svg',
'labels' => $_LLL_db . 'tx_cart.module.order_statistics',
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement',
]
);
}

0 comments on commit 62d46d3

Please sign in to comment.