mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Clean up
This commit is contained in:
parent
aa4105dba6
commit
7afe25dbd5
|
@ -344,8 +344,6 @@ export default class IndexPage extends Component {
|
|||
* @return {Promise}
|
||||
*/
|
||||
composeNewDiscussion(deferred) {
|
||||
// TODO: check global permissions
|
||||
|
||||
const component = new DiscussionComposer({user: app.session.user});
|
||||
|
||||
app.composer.load(component);
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
*/
|
||||
export default class Session {
|
||||
constructor(token, user) {
|
||||
super();
|
||||
|
||||
/**
|
||||
* The current authenticated user.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user