Commit 533f3100391ff58c5cb54c6a7134f8eb1bea54bf
1 parent
519edc98
Exists in
master
and in
28 other branches
Remove spaces
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/models/enterprise.rb
| ... | ... | @@ -104,13 +104,9 @@ class Enterprise < Organization |
| 104 | 104 | return if enabled |
| 105 | 105 | # must be set first for the following to work |
| 106 | 106 | self.enabled = true |
| 107 | - | |
| 108 | 107 | self.affiliate owner, Profile::Roles.all_roles(self.environment.id) if owner |
| 109 | - | |
| 110 | 108 | self.apply_template template if self.environment.replace_enterprise_template_when_enable |
| 111 | - | |
| 112 | 109 | self.activation_task.update_attribute :status, Task::Status::FINISHED rescue nil |
| 113 | - | |
| 114 | 110 | self.save_without_validation! |
| 115 | 111 | end |
| 116 | 112 | ... | ... |