1
0
mirror of https://github.com/flarum/core.git synced 2025-08-29 19:09:58 +02:00

Revert "Export all missing modules in compat (#4006)" (#4032)

This reverts commit e0adf90453.
This commit is contained in:
IanM
2024-09-28 09:11:37 +01:00
committed by GitHub
parent d5882d9357
commit c942f3100d
29 changed files with 0 additions and 236 deletions

View File

@@ -1,11 +0,0 @@
import MiniStatisticsWidget from './components/MiniStatisticsWidget';
import StatisticsPage from './components/StatisticsPage';
import StatisticsWidget from './components/StatisticsWidget';
import StatisticsWidgetDateSelectionModal from './components/StatisticsWidgetDateSelectionModal';
export default {
'statistics/components/MiniStatisticsWidget': MiniStatisticsWidget,
'statistics/components/StatisticsPage': StatisticsPage,
'statistics/components/StatisticsWidget': StatisticsWidget,
'statistics/components/StatisticsWidgetDateSelectionModal': StatisticsWidgetDateSelectionModal,
};

View File

@@ -13,9 +13,3 @@ app.initializers.add('flarum-statistics', () => {
app.extensionData.for('flarum-statistics').registerPage(StatisticsPage);
});
// Expose compat API
import statisticsCompat from './compat';
import { compat } from '@flarum/core/admin';
Object.assign(compat, statisticsCompat);