Skip to content

Commit

Permalink
Revert "rules: set null content on user action objects"
Browse files Browse the repository at this point in the history
This reverts commit e3a264f23edf6971b875784d9144fcd2fe15f2e9.
  • Loading branch information
sonicold authored and regit committed Jul 15, 2024
1 parent 9d5cec8 commit d1c78b4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rules/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1463,10 +1463,6 @@ class UserActionObject(models.Model):
object_id = models.PositiveIntegerField(null=True)
content = GenericForeignKey('content_type', 'object_id')

def set_null_content(self):
self.content = None
self.save()


class SourceUpdate(models.Model):
source = models.ForeignKey(Source, on_delete=models.CASCADE)
Expand Down

0 comments on commit d1c78b4

Please sign in to comment.