mirror of
https://github.com/flarum/core.git
synced 2025-08-29 19:09:58 +02:00
This reverts commit e0adf90453
.
This commit is contained in:
@@ -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,
|
||||
};
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user