From 32fdbb231da1acc4f3c580c4a259dba690b4bdf8 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 15 Feb 2008 17:34:46 +0000 Subject: [PATCH] ActionItem42: marking TODO --- app/models/profile.rb | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index 7a15fb8..04f7c90 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -248,6 +248,10 @@ class Profile < ActiveRecord::Base end # Adds a person as member of this Profile. + # + # TODO if the subscription to the profile (closed Community, Enterprise etc) + # is not open, instead of affiliating directly this method should create a + # suitable task and assign it to the profile. def add_member(person) self.affiliate(person, Profile::Roles.member) end -- libgit2 0.21.2