diff --git a/framework/core/js/forum/src/components/DeleteAccountModal.js b/framework/core/js/forum/src/components/DeleteAccountModal.js deleted file mode 100644 index c8ccdf69c..000000000 --- a/framework/core/js/forum/src/components/DeleteAccountModal.js +++ /dev/null @@ -1,70 +0,0 @@ -import Modal from 'flarum/components/Modal'; -import Button from 'flarum/components/Button'; - -/** - * The `DeleteAccountModal` component shows a modal dialog which allows the user - * to delete their account. - * - * @todo require typing password instead of DELETE - */ -export default class DeleteAccountModal extends Modal { - constructor(props) { - super(props); - - /** - * The value of the confirmation input. - * - * @type {Function} - */ - this.confirmation = m.prop(); - } - - className() { - return 'DeleteAccountModal Modal--small'; - } - - title() { - return app.trans('core.delete_account'); - } - - content() { - return ( -
{app.trans('core.delete_account_help')}
-