Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove clutter

  • Loading branch information...
commit 03755d8ae7aa63cf7b55d83486c3b3f9cd6d9ef0 1 parent 63a8d14
@kiba authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 app/controllers/msg_manager.coffee
View
5 app/controllers/msg_manager.coffee
@@ -29,10 +29,7 @@ class MsgManager
n
resource_msg: (msg,person,resource) ->
ident = (person: person, resource: resource)
- n = this.find_or_create_relation(ident,"tree")
- @relations[n].add_msg(msg)
- @last_status = n
- n
+ this.create_msg(ident,"tree")
create_msg: (ident,type) ->
n = this.find_or_create_relation(ident,type)
@relations[n].add_msg(msg)
Please sign in to comment.
Something went wrong with that request. Please try again.