Skip to content

Commit

Permalink
remove cross-mixin call
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Aug 10, 2023
1 parent cc4ca0f commit 1b831a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions osf/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ def set_subjects(self, new_subjects, auth, add_log=True):
self.add_subjects_log(old_subjects, auth)

self.save()
self.update_or_enqueue_on_resource_updated(auth.user._id, first_save=False, saved_fields=['subjects'])

def set_subjects_from_relationships(self, subjects_list, auth, add_log=True):
""" Helper for setting M2M subjects field from list of flattened subjects received from UI.
Expand All @@ -1162,7 +1161,6 @@ def set_subjects_from_relationships(self, subjects_list, auth, add_log=True):
self.add_subjects_log(old_subjects, auth)

self.save()
self.update_or_enqueue_on_resource_updated(auth.user._id, saved_fields=['subjects'])

def map_subjects_between_providers(self, old_provider, new_provider, auth=None):
"""
Expand Down

0 comments on commit 1b831a8

Please sign in to comment.