Commit 01f057c7 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

No need to set precursor application to REPLACED in approve()

(it is set when submitting a new application)
parent af96cbff
......@@ -1352,12 +1352,6 @@ class ProjectApplication(models.Model):
if new_project:
project.add_member(self.owner)
precursor = self.precursor_application
while precursor:
precursor.state = self.REPLACED
precursor.save()
precursor = precursor.precursor_application
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