Commit 94478a4e authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Do not add owner to the project during approve

parent afb39799
......@@ -1343,11 +1343,10 @@ class ProjectApplication(models.Model):
project.name = new_project_name
project.application = self
project.last_approval_date = now
project.is_modified = True
project.save()
if not new_project:
project.is_modified = True
if new_project:
project.add_member(self.owner)
project.save()
self.state = self.APPROVED
self.save()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment